React Router

React Router is a library aimed at helping you route requests to particular components. The idea is that when someone visits your project, they may want to interact with a specific component. This helps you to manage those requests and figure out the right way to get the user directly to that component. The good news is that installing React Router and using it inside of a Create React App project is actually pretty simple! To install it, all you need to run is the following command:

$ yarn add react-router-dom

Then, you can modify your src/App/App.js file to start adding new routes to components! React Router is similar to Redux, in that it is an incredibly complex project by itself; so, if you want to learn more, you can visit https://reacttraining.com/react-router/.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.11.98