This is a roadmap for learning React.
- Components
- JSX
-
className
- Props vs State
- Understanding React Application State
- Display lists with
map
andkey
s - Conditional rendering
- Hooks
- Writing tests using a test framework (i.e. jest, vitest)
- Interacting with React in tests using @testing-library/react
- Forms and validation
- Without a library
- With a library (i.e.
react-hook-form
orformik
)
- Making API calls (i.e. using
fetch
oraxios
) - Routing (i.e. using React Router)
- Events
- Error boundaries or
react-error-boundary
- Context
- Virtualization
- Other (better) ways to manage global state
- More advanced hooks
- End-to-end testing (i.e. Playwright, Cypress, Puppeteer)
- Class components and their lifecycles (Note: prefer functional components with hooks, but you may run into legacy code with class components or Error Boundaries that require them)
-
lazy
-
Suspense
- Libraries
Tutorials:
Podcasts: