DEV Community

Abhi Raj
Abhi Raj

Posted on

use routing in react js easily | react router v6 tutorial ๐Ÿ˜Š๐Ÿ‘


In this video, I have explained how to easily implement routing feature in your react project with the help of the react-router v6 package

Command:

npm install react-router-dom

import {
BrowserRouter as Router,
Routes,
Route,
BrowserRouter,
} from "react-router-dom";

Top comments (1)

Collapse
 
slimpython profile image
Abhi Raj โ€ข

thanks

Sentry image

See why 4M developers consider Sentry, โ€œnot bad.โ€

Fixing code doesnโ€™t have to be the worst part of your day. Learn how Sentry can help.

Learn more

๐Ÿ‘‹ Kindness is contagious

Please leave a โค๏ธ or a friendly comment on this post if you found it helpful!

Okay