Does remix do javascript code splitting at runtime ? #1450
-
Hallo, I'm looking into the possibility of migrating a php application into a javascript framework. As of today, our application:
Because we can have a lot of component, we don't want to bundle all javascript in one big file. I can see in the compiler documentation that there is some kind of code splitting but I don't understand how it works / what it means. Does Remix create the code splitting at runtime or do we need to do it at build time ? Thanks and happy new year |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Remix code split your app per route, so each route is a bundle, it also move also modules in your code to their own JS files for better cacheability between routes, this is all automatic. |
Beta Was this translation helpful? Give feedback.
Remix code split your app per route, so each route is a bundle, it also move also modules in your code to their own JS files for better cacheability between routes, this is all automatic.