3 ms·
Or just don't even bundle if you can serve your users with ES6 modules.
by colordrops 3y ago
Or just don't even bundle if you can serve your users with ES6 modules.
- TheAceOfHearts 3y agoPerformance with native ESM isn't great since you get cascading requests, unless you have very shallow dependency trees.
- colordrops 3y agoThey work fine for everything that doesn't require immediate response on first load, and even the there are ways to address that - for instance special pages for entry points and/or loading indicators. For general performance you can cache the modules using a service worker. In any case they are fine for most use cases.