React js project # Protected Routes

preview_player
Показать описание
in this react js project we learn how to integration for sign up in react js project from scratch. This video is made by anil Sidhu in the Hindi language

Protected Routes
Hide Login and Register Page after Register
Make Protected Route
Redirect Login and Register Page
Redirect Product Page
Test Complete Flow
Рекомендации по теме
Комментарии
Автор

I love the fact that you don't use over complex stuffs. Simple examples, easy to follow and does the job!

Thanks a lot 💯🙌🏼

shodeolumide
Автор

3 things making me enjoy your video:
• The simplicity of your explanations.
• A concrete illustration rather than theoretical boredom.
• You not being one of those users who put an English title to their videos but talk in another language without suggesting it on the thumbnail.

yhr
Автор

Everything I've been looking for is great, thank you very much

senaakbulut
Автор

thanks a lot exactly what i was looking for !

mohamedalimezghani
Автор

so I'm new to this but let me put my case in some easy words. suppose there's a dashboard route within which you have nested routes like /dashboard/profile etc, so do i need to only protect /dashboard route and it'll hold up for every other route (/dashboard/xyz) or you need to pass every other component to protected?

RahulChauhan-wijv
Автор

Can't we protect routes from laravel side rather than protecting it from react ?

raniduharshana
Автор

useEffect is not redirecting after signup .. what is the problem ? noting that its useNavigate now not useHistory

janallam
Автор

Sir login logout and register with redux ki video banao 🙏 please sir aap se request hai 🙏😞

kissekahaniyaaurkhane
Автор

<BrowserRouter>
{/* <Header /> */}
<Routes>
<Route path="Login" element={<Login />} />
<Route path="Register" element={<Register />} />
<Route path="/add" element={<Protected Cmp={AddProduct} />} />
<Route path="/update" element={<Protected Cmp={UpdateProduct} />} />
</Routes>
</BrowserRouter>

wahbidalal
Автор

every thing has been changed after react router dom 6 arrived

aminulislamrahat
Автор

Hi Bro, i am getting js error. Unexpected reserved word 'await'.. could you suggest how to resolve.

prasanth