Lab · Intermediate · 30 min
Lab: Find the client bundle bloat
Measure a page's JavaScript, move logic to the server, and measure again.
- nextjs
- react
- lab
Inside this lab
- A product page ships far more JavaScript than it should because the whole page is a client component.
- Tasks
- 3

