4 ms·
Modules on the web will have a hard time due to: * Not good enough HTTP2 support in browsers. Browser will for example download pushed files twice, once when
by z3t4 7y ago
Modules on the web will have a hard time due to:
* Not good enough HTTP2 support in browsers. Browser will for example download pushed files twice, once when pushed, then again when imported, and not caching the pushed files.
* Many developers prefer to brake their code up into small files, meaning there will be a lot of hops until the entire dependency tree has been resolved.
* There is no standard for lazy loading, meaning the user need to download everything, even if only 5% is actually required.
As much as a hate bundlers, and would like to see more code moduleability on the web, bundlers get the job done using code splitting, deduplication etc.