Skip to content

Tooling, Testing & Production

You understand how React renders and how hooks work. This module is about everything around the code: how you start a project today, how you test components, how you type them, and what you reach for in production.

The headline currency point: Create React App is deprecated (officially sunset in 2025). Current React starts with Vite for SPAs or a framework (Next.js, React Router) for anything needing routing, SSR, or Server Components.

LessonWhat you’ll learn
Project & toolingVite vs frameworks, DevTools, Fast Refresh — and why not CRA
TestingReact Testing Library on Vitest, testing behavior not internals
TypeScript with ReactTyping props, hooks, events — and ref as a prop in React 19
Production & ecosystemCode-splitting and the libraries you’ll actually use
flowchart TB
  build["Build tool
(Vite) or framework
(Next.js / React Router)"] --> app["Your React app"]
  ts["TypeScript"] --> app
  test["Testing Library + Vitest"] --> app
  eco["Ecosystem:
routing, data, forms, state"] --> app
What sits around your components in a real project

None of these are React itself — React is deliberately a library, not a framework, so you assemble the rest. Knowing the standard choices saves you from reinventing them.

What is the current status of Create React App?
How should you start a modern React single-page app?
Why do you assemble a toolchain around React yourself?