DEV Community

Carlos Junior
Carlos Junior

Posted on

react router explained for beginners

react router explained
hi everyone this is a simple guide for react router, first things first you need to create a page.

Image description
on this example im creating a report page

after that i need to make the standard react call out, and this code.
Image description

after that on my APP.tsx i need to route the index element to the Import i wanted to be in.

Image description

simple guide and tip for you!

Top comments (0)