I almost never comment on videos, but just wanted to say thanks for a great explanation. In the world of fast development cycles and relying too much on ChatGPT, it's nice to have videos out fast that give a great overview of the new features. React Router v7 is a game changer for our startup - we've been looking a long time into how to integrate server-side rendering (we are we B2C, so serving the users fast is pretty important to us), so this is awesome. Hopefully the transition is smooth
thanks for the awesome videos, we follow alem tuzlak, just a request, please would like to understand how the middleware works with rr, and hono. like who runs first and what they do behind the scenes,
Hi, well explained. Thanks. could you pls. post followup video to how to write unit test cases for router v7. V6 unit test's are failing if we upgrade to v7.
Do you know how to update routes programmatically? e.g. I need to generate the routes from a fetch request after the user logged in, currently I use router._internalSetRoutes to reset the routes after the request, is there any better ways to do this?
it wouldn't, I think this should be updated on Vite side actually, I'll see if I can get the ball rolling on that! It isn't, react router v7 is the next iteration of remix so I wouldn't recommend using it anymore as you get the same with rr7 + typesafety and ssg and all the future stuff
@@alemtuzlak I was a bit cynical :D however it looks almost the same, routeconfig object with almost same props except in angular we have instead of Route component or provider like a html tag tbh I like it if these techs try to follow te same pattern in couple of things. Easier to change projects/workplaces and to learn different techs.
@@alemtuzlak btw I hope react will realize that being a library is not enough. Community needs framework, migration scripts and a way of thinking meanwhile hiding the not interesting (not business) stuff. Lets see what will come in the future :D
@balintcsaszar6831 yeah I don't care much for react tbh. I love remix and everything it offers, I could never go back to writing vanilla react SPAs, I'm too spoiled now 😂
Really appreciate you add timestamps to your description. Good stuff!
Someone's gotta do it! 😁
Please make an advance and professional level course on React router v7 (Remix) , seriously I want to learn this from you
That takes a lot of time, but I will say that I might be planning to do it 😇
@@alemtuzlak yeah, very underserved market for this. there's epicweb but that's very opinionated and expensive. would pay up to $300 for such a course
@additionaddict5524 I know, as someone who was coming into remix v1 I know exactly how underserved it is!
I agree. I would pay for such a course.
@@alemtuzlak I know it takes a lot time and that's why I want to learn this from you because you will do it sincerely.
Awesome video Alem! Thanks for walking us through the update.
Thank you so much!
I almost never comment on videos, but just wanted to say thanks for a great explanation. In the world of fast development cycles and relying too much on ChatGPT, it's nice to have videos out fast that give a great overview of the new features. React Router v7 is a game changer for our startup - we've been looking a long time into how to integrate server-side rendering (we are we B2C, so serving the users fast is pretty important to us), so this is awesome. Hopefully the transition is smooth
Thank you so much! Yeah we also exclusively work with rr7/remix in our company, it's really great!
please teach us by creating some sort of comprehensive v7 course using your stack that would be so helpful.
If I make a course I'll make it as good as possible! 🙏
@alemtuzlak great can't wait for it.
"React Router 7, it's okay I guess."
Now that's the lukewarm endorsement I was looking forward.
Gotta call a spade a spade 😂
Hey hey! Good to HEAR you! 🤩
Hey Fabio! Lovely to see you in my corner of the web!
thanks for the awesome videos, we follow alem tuzlak,
just a request, please would like to understand how the middleware works with rr, and hono.
like who runs first and what they do behind the scenes,
I might do a "homegrown" middleware video to go over this, usually hono runs first then the remix app
Great video, keep em coming 🎉🎉🎉🎉
Thank you so much, will do!
I recently migratet to tanstack router and it so much better ❤
Awesome! Glad you like it
thanks Alem for your MANY contributions.
@@eleah2665 thank you for watching!!
Hi, well explained. Thanks. could you pls. post followup video to how to write unit test cases for router v7. V6 unit test's are failing if we upgrade to v7.
Maybe this helps:
ua-cam.com/video/CSaH-rexUdE/v-deo.html
Maybe this helps:
ua-cam.com/video/CSaH-rexUdE/v-deo.html
Gush, such a great content 🙌 Keep the great work. So happy following you content 🫶
Thank you so much 🫶
Do you know how to update routes programmatically? e.g. I need to generate the routes from a fetch request after the user logged in, currently I use router._internalSetRoutes to reset the routes after the request, is there any better ways to do this?
Oh wow, I've never actually tried to do that. Wouldn't it be maybe easier to just protect those routes from the user if he tries to access them?
Great video!
Thank you!
Hi Alem, how about middleware ? I coudnt find any options to add middlware
Middleware is coming in the upcoming releases, it's not out yet
if I use
npm create vite@latest
will it have v7 already?
and is the remix plugin still useful in some situations?
it wouldn't, I think this should be updated on Vite side actually, I'll see if I can get the ball rolling on that! It isn't, react router v7 is the next iteration of remix so I wouldn't recommend using it anymore as you get the same with rr7 + typesafety and ssg and all the future stuff
I created and merged a PR to change this!
👍👍
Appreciate this! Great content.
Thank you! Glad you like it :)
finally React realized, "we should copy angular" :D ofc we need still react syntax so make it differently a bit
Haha in what way exactly?
@@alemtuzlak I was a bit cynical :D
however it looks almost the same, routeconfig object with almost same props
except in angular we have instead of Route component or provider like a html tag
tbh I like it if these techs try to follow te same pattern in couple of things. Easier to change projects/workplaces and to learn different techs.
@balintcsaszar6831 yeah I never used angular so the joke went straight over my head, hence my question, was genuinely curious! That's cool to know
@@alemtuzlak btw I hope react will realize that being a library is not enough. Community needs framework, migration scripts and a way of thinking meanwhile hiding the not interesting (not business) stuff. Lets see what will come in the future :D
@balintcsaszar6831 yeah I don't care much for react tbh. I love remix and everything it offers, I could never go back to writing vanilla react SPAs, I'm too spoiled now 😂
Just a reminder, rr7 as framework does not provide a proper client-side debugging experience yet.
What do you mean by that?
Vite 6.0 is out
Oh boy.. here we go again 😂
they've changed it again 😅
Changed what exactly?