2 ms·
I like the idea of JS modules but they don't entirely negate the need for bundling. Sending a single compressed, tree shaken, minified JS file down the pipe can
by jeroenhd 4y ago
I like the idea of JS modules but they don't entirely negate the need for bundling. Sending a single compressed, tree shaken, minified JS file down the pipe can be a lot more efficient than waiting for the browser to load all those files.
Theoretically HTTP/2 push could've helped here, forcing the necessary files into the browser cache, but that's been removed from browsers.
- mcluck 4y agoAgreed. To me, browser support for modules is great for debugging but is not a suitable replacement for producing an optimized set of bundles