React Router Tutorial - 15 - Authentication and Protected Routes

React Router Tutorial - 15 - Authentication and Protected Routes

Codevolution

2 года назад

142,868 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Vignesh Subramani
Vignesh Subramani - 14.09.2023 08:50

Sir, can you please upload the updates in react router version 6.4.

Ответить
Vigneshwar Venugopal
Vigneshwar Venugopal - 09.09.2023 08:19

Thank you so much for your effort sir....i really gained more knowledge on and about ReactJs and now i can fearless develop the
project on it....Once again ....Thank you So Much....

Ответить
Daniel Paulino
Daniel Paulino - 05.09.2023 08:18

Thank you for this video! Congratulations my friend!

Ответить
JayBeatz808
JayBeatz808 - 30.08.2023 22:05

bro, thanks! you explained it clear

Ответить
Dhokia Rinidh
Dhokia Rinidh - 30.08.2023 17:55

Thank you so much, very informative videos

Ответить
Crissatrapi
Crissatrapi - 27.08.2023 12:03

This was a good explanation thanks!! , however I cannot do the opposite, I want to block my login and signup pages when the user is logged in :(

Ответить
S. Joshi
S. Joshi - 19.08.2023 02:25

One of the worst video out there in your entire Router series. It seems you are revising yourself rather than teaching.

Ответить
Biswajit Jana
Biswajit Jana - 16.08.2023 11:30

Ответить
Divyansh patel
Divyansh patel - 23.07.2023 00:56

Thanks a lot

🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

Ответить
GOPALAKRISHNAN SHANMUGAM
GOPALAKRISHNAN SHANMUGAM - 21.07.2023 12:28

Great Sir Thank you. Very helpfull tutorial

Ответить
Mohamed Yousef
Mohamed Yousef - 07.07.2023 16:03

Thanks alot

Ответить
Saeb Alam
Saeb Alam - 04.07.2023 22:12

When we are passing value in provider component , what's the need to create useAuth hook to get value ? Anyone?

Ответить
Abolanle Adebanjo
Abolanle Adebanjo - 30.06.2023 10:25

Wow thanks so much Vishwas your content are always easy to understand and rich 🙏

Ответить
Anmole Alfaz
Anmole Alfaz - 21.06.2023 16:31

any one help me

Ответить
Anmole Alfaz
Anmole Alfaz - 21.06.2023 16:26

i have this error

Ответить
Arnab Dutta
Arnab Dutta - 19.06.2023 14:28

Finally a proper and right video. Thank you sir.

Ответить
No one
No one - 10.06.2023 07:42

finally, someone teach me about React properly

Ответить
Tareq Sakib
Tareq Sakib - 08.06.2023 23:44

🎉🎉🎉❤

Ответить
Krishna Reddy Yerram
Krishna Reddy Yerram - 05.06.2023 11:12

Thanks Viswas!

Ответить
aabramek
aabramek - 28.05.2023 00:30

well done, thanks

Ответить
Jacob W.
Jacob W. - 20.05.2023 22:04

I was able to get something that worked using this technique with a Redux store. Thanks

Ответить
MoonSide9981
MoonSide9981 - 09.05.2023 17:34

Thank you a lot.
Didn't see how you add <AuthProvider></AuthProvider> to app and spend 2 days for finding solution 🤣

Ответить
Hassan  Developer
Hassan Developer - 09.05.2023 08:41

nice video appreciate buddy

Ответить
Ashwini
Ashwini - 06.05.2023 09:20

thankyou bhai

Ответить
Jerick Geronimo
Jerick Geronimo - 01.05.2023 07:45

do u have a github repo for this specific proj?

Ответить
Alex Esteban
Alex Esteban - 21.04.2023 20:46

Wow I just finished watching the 15 videos and is this really is so good

Ответить
narges haeri
narges haeri - 15.04.2023 03:32

Thank you so much for explaining everything so clearly and in details. I really do not know how to express my gratitude. I have watched a lot of your tutorials and I found them really helpful. I wish you the best.

Ответить
vicky manora
vicky manora - 14.04.2023 15:45

i highly recommend to watch this

Ответить
Nishant Nimish
Nishant Nimish - 02.04.2023 07:40

Thank you

Ответить
NordFolk
NordFolk - 27.03.2023 10:57

What a super series of videos - helped me enormously with a routing problem I had. Thanks for posting.

Ответить
Kashyap Kumar
Kashyap Kumar - 26.03.2023 18:50

Thanks man!

Ответить
Raja Sankar
Raja Sankar - 26.03.2023 13:44

Amazing Tutorials. All the videos are Gem. Thank You

Ответить
HeitorYT
HeitorYT - 26.03.2023 02:21

What about persisting authentication?

Ответить
Mohammad Umer Hussain
Mohammad Umer Hussain - 23.03.2023 01:16

Thanks alote

Ответить
Louis Shine
Louis Shine - 16.03.2023 03:50

Awesome. Thanks a lot.
13:!3 - It's a shame that you aren't really explaining why this time you choose the Navigate component
Instead of the useNavigate hook like you did in all the other places in the code.
Or - why did you prefer to use the hook in all the other places and not the component.
You had some really good opportunities to explain...
It leaves me wondering... when should we use which.

Ответить
Damilola Omotola
Damilola Omotola - 15.03.2023 11:07

Great work!! But how do i keep user login even after refresh???

Ответить
Sanaa Sergelen
Sanaa Sergelen - 09.03.2023 10:47

thank you so much. your turorials are most easy to understand

Ответить
Ravi Kant Chauhan
Ravi Kant Chauhan - 06.03.2023 12:14

Really helpful tutorial. bole to ek dam Jhakkas 😎

Ответить
Civic
Civic - 01.03.2023 14:07

Jesus fucking Christ this shit is so convoluted. Front-end development is a fucking mess, why is it not standard behaviour for React Router to not refresh the fucking application.

Ответить
Serg
Serg - 21.02.2023 14:18

Is there a way to prevent the login page from rendering after the user login? If type the path to login in browser the page appears

Ответить
Kw Wong
Kw Wong - 18.02.2023 10:13

Thanks Viswas, really great content!

Ответить
Sajid Hasan
Sajid Hasan - 12.02.2023 12:42

That was an amazing series, and this series is enough to learn react router V6.
Thanks

Ответить
Ashutosh Ranjan
Ashutosh Ranjan - 10.02.2023 12:12

It was 🤯. I explored different dimensions of react router dom.
React is really powerful!!!

Ответить
Youssef Galal
Youssef Galal - 07.02.2023 23:09

Thank you so much, that was really helpful.

Ответить
DYG
DYG - 07.02.2023 18:11

Thanks for these videos! That were simple and perfect!

Ответить
Cocoon
Cocoon - 07.02.2023 07:45

I don't know if this is handled in a later tutorial, but the auth logic provided in this tutorial is not 100% secure by itself as anyone can modify "user" state in their browser to access protected routes.

I understand that it is React (front-end) tutorial, but just a heads up that you might want to add an extra layer of security if using this in production.

Ответить
Emre Altuğ KIRMAN
Emre Altuğ KIRMAN - 30.01.2023 19:04

Dude i love this man accent. If i was a girl bro, i swear...

Ответить