Concept
React.lazy and dynamic import() load a component's code only when it is first rendered, so the initial bundle stays small. Suspense shows a fallback while the chunk loads.
The tutor works through these with you, in conversation and code. A session ends when you have shown them, not when a video does.
A few lines that show Code splitting doing its job.
const ReportEditor = React.lazy(() => import("./ReportEditor"));
function Reports() {
return (
<Suspense fallback={<Spinner />}>
<ReportEditor />
</Suspense>
);
}Splitting at every component. Dozens of tiny chunks each cost a round trip, and the spinners flicker. Split along routes and genuinely heavy features.
Your roadmap puts these before Code splitting, unless you already know them.
Once a session shows you understand Code splitting, it comes back for review. Each review takes a minute and tells the memory model how well you still know it.