Комментарии:
Awesome course again, but I am stumped on this one when it comes to passing the user to the routes. I have updated my react router to v6 with createBrowserRouter. I was wondering how do I go about passing the { user } to that?
Ответитьthanks
ОтветитьI am doing the element={user ? <Workout /> : <Navigate to="/login" />}, but am being re-directed to the login page even if I know there is a user in state. I am console.logging user Auth context, and it logs as null twice then with the correct current user data twice. So, on initial check, it thinks that there is no user and re-routes to /login. How do I fix this?
ОтветитьI want to hide the navbar in login screen,
can Anyone help me please?
THANK YOU SIR , GREAT LESSON
ОтветитьIs this the only way? I mean I have 40 routes. Do I have to validate in each one if there is a user logged in?
Ответить❤
ОтветитьAwesome video +++++++++++++++++++ 🙂
ОтветитьTHE BEST
Ответитьthx
ОтветитьAfter this step whenever I'm refreshing any other page it is
always taking me back to homepage. How to solve this?
best 🔥
ОтветитьHey gang are you going to do the forgot password video?
Ответитьmy searching your discord community for help but didn’t get
ОтветитьThis was a great tutorial. Can you consider adding a search page lesson. Like I only want to show workouts with 10 reps or workouts with setups etc etc ability to search and filter on any field ?
ОтветитьFunny enough, that little margin was bugging me too. lol. Thank you for these Shaun! You're seriously top 3 best teachers
ОтветитьThank you..♥️❤️❤️♥️
ОтветитьWhy not doing like this: <Route path="/login" elementt={ ?user ? <Login /> : <Home/> } ? 🙄
ОтветитьGooosh. You're tireless. Even in August you work like a stream.
Ответитьstraight forward and into the point I love your style thanks a lot
ОтветитьHow much time it will take you to complete this project basically asking how much videos are left?
ОтветитьHas any of your work been compromised by the increased number of hackers?
Ответитьi was practicing while waiting for this 🔥🔥😍😍
Ответить