How to Setup React Router v5 using React Hooks

Publicado el: 11 abril 2020
en el canal de: React with Masoud
1,296
15

More tutorials:    / @reactwithmasoud  
For today's episode, I chose React Router V5 for our tutorial topic. We will dig into it and see how to configure it using Hooks to have a flexible and powerful routing system in our ReactJs apps. I believe this library is the best for routing in React but if you know a better one please share in comments.

By watching this video, you will learn how to install react-router-dom library and define your routes inside app.js file. You will see how to define required or optional parameters for each route and read the value in the component from useParams function. Finally, I will talk about how to show the page not found error to the user if the inserted route was not matched.

Hope you enjoy the video. Please subscribe to my channel and share your thoughts in the comment section.

Project source code repository: https://github.com/mdeveloper20/react...
My weblog: http://pezeshkzade.com/blog


En esta página del sitio puede ver el video en línea How to Setup React Router v5 using React Hooks de Duración hora minuto segunda en buena calidad , que subió el usuario React with Masoud 11 abril 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,296 veces y le gustó 15 a los espectadores. Disfruta viendo!