Frontend · interactive
Code splitting
A single bundle makes every visitor download the code for every page, including a 180 KB chart library most never see. Split by route, and load heavy parts only when they're needed.
1 chunk
main.js · downloaded465 KB
react + router 55design system 30home page 20settings page 35dashboard page 25chart library 180markdown editor 120
first load of /home: 465 KB · ~2.3 s on slow 4G
Every page downloads all 465 KB, including the chart library and the editor.
Bundling
Visitor opens
Step 1 of 4 · read left to right
In production
Tools and technologies
Bundlers split code by route and dynamic import.
Not tied to one language — use these names when you search docs or design a system.