Комментарии:
thanks
ОтветитьNot showing face that covers half the screen, not showing myprotein add for 2 minutes, and straight to the point. Dropped an instant thumbs up
ОтветитьYou made this concise and straight to the point. It was also very easy to follow unlike many of the other videos I tried watching. Thank you
ОтветитьNice video….but bit too dark cant watch in the day
Ответитьhow can I check accessToken on Local Storage and make my own private routes and public routes.
Ответитьhow do you prevent people who are logged in from going to the Login page?
Ответитьyou are g bro nice explanation
Ответитьthank you for the video, it was very helpful 🙏👊👊
ОтветитьDoesn't work, axios / fetch runs before the function returns data so the function says it's not authenticated even though it is
ОтветитьThank You So Much straight to the point and really simple
ОтветитьThankyou so much. So easy and straight forward demo ♥️
Ответитьthank u very much. i really love the process of learning. I can much understand the concept if tried first then i dont understand it
ОтветитьYe fk u man❤️ u are awesome
ОтветитьI tried it and if works! Thank you!!
Ответитьgood video! I will try this this afternoon !
ОтветитьThanks bro, help me alot !
ОтветитьThank you very much !
Ответитьthe most intuitive and easiest tutorial, thanks man
Ответитьthanks for the simple and useful example.
straights forward, clear real word implementation example in 4 min is not easy.
hope can see more video like this, help a lot of blur coder like me, to design a lock my door
Precise
ОтветитьNice content!
ОтветитьThank you for making this straight forward and not this huge project with irrelevant info. 🐐
ОтветитьQ: How we can hide the "Home Page" and "Account Page" too, I mean just authenticated users could see those links. Any idea?
Ответитьpure base
Ответитьso simple! thank you for sharing this
ОтветитьDoesn't working when you need to make a request to the server, actually it does work but the unprotected screen is poping up foe a sec before the protected route is rerendered.
Due to the usage of an async code that forces you to use useEffect and useState hooks, which causes the first render to return the defult value of the state.
I have done the same thing but mine does not work?
Ответитьbro thank you so much you saved my day after searching many tutorials please i have one question how to prevent browser back arrow from home to login page and vice ver ca
Ответитьvery clean.
ОтветитьThank you ❤️
Ответитьstraight to the point! Thanks man ❤
Ответитьgoat
ОтветитьBro, you've just saved my time! Thanks a lot!!!
Ответитьbut what if you need to trigger auth from another component?
Ответитьthanks man this other guys was fucking around thanks for making it easy.
ОтветитьLooks good but can I see how it is actually connected to something like Google auth?
ОтветитьThanks! This tutorial really helped me grasp protected routes. I love the pace too.
ОтветитьSurprised you only have 1.6k subs, you have some great content on this channel
Ответить<Route element={<ProtectedRoutes/>}> (<-NO CLOSING TAG)
<Route path="/home" element={<Home />} />
<Route path="/account" element={<Account />} />
</Route> (<- ROUTE CLOSING HERE)
Thanks brotheeer!
ОтветитьThank uuuuuu❤️
ОтветитьGreat video, Thank you
Ответитьsweet and simple i got what i was looking for .. thanks mann
ОтветитьThanks man, you helped me solve my problem.
Ответитьthis doesn't work
react is giving me hooks errors.
Warning: Invalid hook call. Hooks can only be called inside of the body of a function component.
congratulations
Ответитьcrisp
ОтветитьStraight to the point! I spent hours looking for simple and working solution. Thank you! Subbed
ОтветитьThanks!
Ответитьthanks bro, I am sudamerican and I have a course in Udemy in spanish. But that course is with react-router-dom V5, then I have problems with sintaxis and updates
Ответить