Complete Shopping Cart 🛒 - 1 Adding react-router-dom | React and Redux Toolkit Course 🔥

preview_player
Показать описание
In this video, we will start working on our shopping cart application by adding react-router-dom.

SUPPORT MY CHANNEL

GET IN TOUCH:

Disclaimer: This video is not sponsored
Рекомендации по теме
Комментарии
Автор

if you are getting any error in using switch route use this:-

<Routes>
<Route path ="/cart" element={<Cart/>}/>
<Route path ="/" element={<Home/>}/>
</Routes>

codingclub
Автор

Are you using bootstrap or same thing like that ?

yazanzobi
Автор

<BrowserRouter>
<Navbar />
<Routes>
<Route path="/" element={<Home/>} />
<Route path="/cart" element={<Cart/>} />
</Routes>
</BrowserRouter>

new code

anujnema-feys
Автор

Amazing contents Charles. Please update the discord channel invitation link. Thank you.

emmanuelmadu
Автор

Hey bro which react router Dom version is used ... Because we are getting error

rishabh
Автор

my react router is not exporting switch at all

techislife.