📜 ⬆️ ⬇️

How to make a configuration file of routes in React Router 4 (subtitles)

When react-router 4 just appeared, many were worried on two occasions:



In the video from Tyler McGinnis'a covered the first question.



And to deny access to any of the sections of your site, you can use the Redirect component in conjunction with the verification condition. An example is here .


')

Source: https://habr.com/ru/post/358124/


All Articles