Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Master JavaScript through projects
·
Module 7
Client-Side Routing with React Router
1
Implementing React Router for Navigation
Install and configure React Router to enable navigation in a single-page application.
2
Route to Components: URL Mapping in React
Define application routes by mapping URL paths to specific React components.
3
Declarative Navigation with Link and NavLink
Use the Link and NavLink components for declarative, accessible navigation.
4
Dynamic Routing with URL Parameters
Create dynamic routes to display pages based on URL parameters (e.g., /products/:id).
5
Accessing URL Parameters with `useParams`
Access URL parameters within a component using the useParams hook.
6
Nested Routes and Layouts with React Router Outlet
Implement nested routes and shared layouts using the Outlet component.
7
Programmatic Navigation with useNavigate
Redirect users programmatically using the useNavigate hook.
8
Implementing a 404 Catch-All Route
Create a 'catch-all' route to display a 404 Not Found page.
Previous module
Handling Side Effects and API Integration
Next module
Advanced Hooks and Global State