randomlylelo / thank-you-react

MIT License
1 stars 3 forks source link

Setup react router. #3

Closed randomlylelo closed 3 years ago

randomlylelo commented 3 years ago

I already installed react router.

Doing through index.js is the easiest BUT not really recommended. I would reccomend seperating the code in App.js into FrontPage.js and SecondPage.js and have the router there.

Just follow the quick start guide: https://reactrouter.com/web/guides/quick-start