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
Auf dieser Seite können Sie das Online-Video How to Setup React Router v5 using React Hooks mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer React with Masoud 11 April 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,296 Mal angesehen und es wurde von 15 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!