-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
The main bundle is 300k gzipped and it's quite a lot of JS to parse and execute up front when maybe 20% of is needed for a given page. React Router makes it extremely easy to split on a per-page basis. Remix SPA mode seems to split every page by default. We probably don't have to go that far, but there's not that much downside to it. Converting to the lazy format will get us very close to the file structure we'd need for Remix SPA, so we can consider this an investment in that transition as well.