4 ms·
The biggest problem with web apps today is the initial load time, not the total size of the app. If you can't render the first page the user lands on without se
by rich_harris 10y ago
The biggest problem with web apps today is the initial load time, not the total size of the app. If you can't render the first page the user lands on without serving a large framework, you're stuck.
But yes, an app built entirely out of standalone components would eventually overtake the total size of an app built using a more conventional framework. (By the time you get there, your app is probably already too big anyway, and you should be code-splitting.) We're going to add a compiler mode that addresses that very soon by deduping some code within an app.
- danmaz74 10y agoThis approach looks very interesting for javascript-enriched pages, but not as much for SPAs. Anyway, interesting to know about the deduping idea.