Stage 5 track
Track: Production and performance
Who it's for: you've finished Stage 4's capstone and want to own what happens after git push
— as a frontend engineer responsible for how fast an app actually loads and runs for a real user
on a real network, not just whether it builds.
Learn (in order): bundle analysis (e.g. rollup-plugin-visualizer or Vite's own build report)
to see what's actually shipped to the browser → route-level code-splitting with React.lazy and
Suspense, going beyond the single lazy-loaded panel from
Stage 3 Part 13 to
split an entire router the way Stage 4 Part 15
set up → Lighthouse audits (performance, accessibility, best practices, SEO scores) as the
measurement tool behind every optimization that follows → PWA basics — a web app manifest and a
minimal service worker for offline/installable behavior → a real deployment pipeline to a static
host (Vercel, Netlify, or GitHub Pages), building on the "basic static-host deploy" Stage 4 Part 16
only touches briefly.
Capstone brief (to be written in full): ship the Stage 4 capstone to production with a documented performance budget — each route code-split, a bundle-size report checked into the repo, a Lighthouse run with a target score the budget commits to (and passes), a web app manifest making the app installable, and a real deployed URL with a one-command or CI-driven deploy step. Full user stories, milestones and an acceptance checklist will be added when this track's content wave begins.
What this brief does not claim: no bundle analyzer, Lighthouse run, service worker, or
deployment was executed while writing this course (see ../TOOLING.md) — unlike
Stages 1–4, where every snippet was run in a real Vite dev server or under Vitest and verified
before publication. Treat every detail above as a design-time plan, not a tested lesson, until the
content wave runs a real build, a real Lighthouse audit, and a real deploy, verified the same way
TOOLING.md verified the Vite scaffold.
Official docs to use when this wave starts: https://vite.dev/guide/build.html, https://react.dev/reference/react/lazy, https://developer.chrome.com/docs/lighthouse/overview/, https://web.dev/explore/progressive-web-apps