python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Is there any performance difference in ES modules vs Common JS modules in NodeJS servers?
Is there any performance advantage or disadvantage of using ES modules over CommonJS modules in a nodejs backend project? I'm asking this because I see a lot of people using CJS still even though newe...
Nethrenial.
Votes: 0
Answers: 1
Why are javascript modules deferred by default?
It's said that js modules are deferred by default. And there is no way to undo this apparently. I'm curious: why? Is it due to how modules are loaded internally that it's impossible to load them as us...
Sviatozar Petrenko
Votes: 0
Answers: 0
How do I require a function in a node modules without using a Module Bundler
I cannot find an accurate answer to this anywhere. I understand the browser doesn't recognise commonJS syntax hence why if require() is loaded into the browser a reference error occurs like this
let i...
Kevin Greetham
Votes: 0
Answers: 2
Why ECMAScript ES module import do not follow destructuring standard?
In JavaScript I can rename and imported module this way
import { original_name as alias_name } from 'my_module'
Is there a good explanation for the need of as keyword and nod just follow the excellen...
Fabiano Taioli
Votes: 0
Answers: 2