Skip to content Skip to sidebar Skip to footer
Showing posts with the label Es6 Modules

Garbage Collect Unused Modules

I am using dynamic import to load scripts written by the user in the browser. I start by placing th… Read more Garbage Collect Unused Modules

Using Es6 Modules Without A Transpiler/bundler Step

I'm interested in using a bunch of JS libraries without depending on npm-based tooling and addi… Read more Using Es6 Modules Without A Transpiler/bundler Step

Render Function Automatically Trigger Onclick Props Function Issue In React?

In parent component have one child component. In Child component I have one props with click functi… Read more Render Function Automatically Trigger Onclick Props Function Issue In React?

How To Get `jquery` As A Function (not As A Module Symbol) After Es6 Style `import * As Jquery From "./js/jquery.js";`

I'm experimenting with native ES6 modules support in Chrome. jQuery is not es6 module (no expor… Read more How To Get `jquery` As A Function (not As A Module Symbol) After Es6 Style `import * As Jquery From "./js/jquery.js";`

Nested Namespaces Vs. Es Modules

With traditional JavaScript namespacing techniques I am able to create a nested logical grouping, e… Read more Nested Namespaces Vs. Es Modules

Does Webpack Make Es6 Modules Compatible With Es5 Browsers?

If I use an ES6 import in a JS file like: import { tempates } from './templates.js'; webpa… Read more Does Webpack Make Es6 Modules Compatible With Es5 Browsers?