Frontend with React
🧪 Routing, testing and patterns
Navigation between views with React Router (conceptual), component testing with the philosophy of testing like the user, error boundaries and advanced patterns like compound components.
What you'll learn
- Route several views of an SPA with React Router using routes, links and parameters
- Test components with React Testing Library focusing on user behavior
- Catch render errors with an Error Boundary and show a fallback
- Compose flexible APIs with advanced patterns like compound components
Lessons
Routing with React Router (conceptual)Several views in an SPA: routes, links and parameters. Component testing with React Testing LibraryTest like the user, not the implementation. Error boundaries and advanced patternsCatch render errors and compose flexible APIs.Practice this module in the app
DevPath is a hands-on course: you read the theory here; in the app you put it into practice with exercises that really run, offline.
Start free in the app →