Conteúdo do Curso
React Router Essentials
React Router Essentials
1. Understanding React Router and URL Structures
2. Implementing React Router in a React App
Overview of the Multi-Page WebsiteInstalling React RouterEnabling Routing in a React AppDefining Routes for NavigationRecap: First Steps in React RouterOptimizing Imports with Lazy LoadingImplementing a Fallback ComponentRecap: Second Steps in React RouterCreating and Managing NavigationExploring React Router's Complete LogicRecap of React Router Fundamentals
Inspecting Recent Changes
Let's pause for a moment to review recent changes in our app:
- New Route: We've introduced a
/products
route in theApp.jsx
to create the "Products" page, expanding the app's functionality; - Enhanced Navigation: The navigation in the
Bar.jsx
now includes a link to the "Products" page, making it easier for users to access this new view; ProductsPage
Component: The heart of our "Products" page is theProductsPage
component. It renders and manages product data, offering an interactive experience.
Explore the entire app in the provided Code Sandbox to see these updates in action.
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 4