Contenido del Curso
React Router
React Router
Second Steps Recap
Let's pause and review our progress in our project so far.
One important aspect we need to address is the absence of navigation buttons that allow users to navigate between different pages easily. While our routing functionality is in place, users currently cannot trigger these routes.
In the upcoming chapter, we will address this issue by introducing navigation buttons and demonstrating how to use the Link
component from React Router.
1. What is the primary purpose of using the lazy
function in React?
2. What benefit does lazy loading of components provide in a React application?
3. In React Suspense
, what does "fallback" mean?
¡Gracias por tus comentarios!