Lesson 4.1
Code splitting that pays off
Splitting only helps if the split-off code was genuinely not needed for the first screen. Analyse the bundle before you cut it.
6mAdvanced4k students
Overview
What this lesson covers
- Read a bundle analysis and find the heavy dependency
- Split along route and interaction boundaries
- Avoid splitting code that is needed immediately anyway
This lesson sits in Bundle and Load Performance, part of React Performance Engineering. It assumes what came before it and leads directly into the next lesson in the module.
In this lesson you will:
- Read a bundle analysis and find the heavy dependency
- Split along route and interaction boundaries
- Avoid splitting code that is needed immediately anyway
Your notes will live here soon.