Glossary term
What is code splitting? Meaning for developers
In Scenario Debugging
Cut the JavaScript bundle into pieces that load when needed. Each page loads only what it uses.
Learn it properly · Scenario DebuggingLesson 6: Slow First Load: Bundles, Code Splitting and LCPBundle analysis, code splitting by route, image optimisation, font loading, preload and preconnect, and Server Components with streaming.In React in Depth
Cutting your JavaScript into several files that load only when needed, in React with lazy and Suspense.
Learn it properly · React in DepthLesson 7: Performance: Memoization, Lists, Code Splitting and the React CompilerFind slow renders with the Profiler, memo, virtualised lists, lazy loading, transitions, and what the React Compiler changes.