Visão Geral
Este curso apresenta, de forma clara e prática, como trabalhar com navegação em aplicações React utilizando o React Router. Você aprenderá desde a configuração inicial até a criação de rotas avançadas que tornam suas interfaces mais organizadas, fluidas e modernas.
Conteúdo Programatico
Module 1 – Introduction to React Router
- What is React Router and why use it
- SPA vs MPA
- Installing React Router
- Basic structure of routes
Module 2 – Creating Basic Routes
- Setting up BrowserRouter
- Route and Routes components
- Navigating with Link and NavLink
- Creating first pages
Module 3 – Dynamic Routing
- URL parameters
- useParams Hook
- Nested routes
- Route structure best practices
Module 4 – Programmatic Navigation
- useNavigate Hook
- Redirecting users
- Navigation patterns in modern apps
Module 5 – Route Protection
- Creating private routes
- Basic authentication flow
- Protecting pages based on user state
Module 6 – Layout Routes and Nested Structures
- Creating a global layout
- Header, footer, and sections
- Nested layouts for dashboards
Module 7 – Code Splitting and Lazy Loading
- lazy() and Suspense
- Loading pages dynamically
- Improving performance with route-based splitting
Module 8 – Final Project
- Building a complete multi-page React app
- Implementing authenticated and public routes
- Navigation, parameters, layout, and lazy loading