4 ms·
Performance with native ESM isn't great since you get cascading requests, unless you have very shallow dependency trees.
by TheAceOfHearts 3y ago
Performance 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.