React Router v7 IS HERE Should You Upgrade NOW?

Поділитися
Вставка
  • Опубліковано 20 січ 2025

КОМЕНТАРІ • 63

  • @Alp0082
    @Alp0082 Місяць тому +2

    Really appreciate you add timestamps to your description. Good stuff!

    • @alemtuzlak
      @alemtuzlak  Місяць тому

      Someone's gotta do it! 😁

  • @zunnoorainrafi5985
    @zunnoorainrafi5985 Місяць тому +27

    Please make an advance and professional level course on React router v7 (Remix) , seriously I want to learn this from you

    • @alemtuzlak
      @alemtuzlak  Місяць тому +4

      That takes a lot of time, but I will say that I might be planning to do it 😇

    • @additionaddict5524
      @additionaddict5524 Місяць тому +1

      @@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

    • @alemtuzlak
      @alemtuzlak  Місяць тому +1

      @additionaddict5524 I know, as someone who was coming into remix v1 I know exactly how underserved it is!

    • @eleah2665
      @eleah2665 Місяць тому

      I agree. I would pay for such a course.

    • @zunnoorainrafi5985
      @zunnoorainrafi5985 Місяць тому +1

      @@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.

  • @blueturtle5
    @blueturtle5 Місяць тому +3

    Awesome video Alem! Thanks for walking us through the update.

  • @Chrillinho1996
    @Chrillinho1996 Місяць тому

    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

    • @alemtuzlak
      @alemtuzlak  Місяць тому

      Thank you so much! Yeah we also exclusively work with rr7/remix in our company, it's really great!

  • @prashlovessamosa
    @prashlovessamosa Місяць тому +4

    please teach us by creating some sort of comprehensive v7 course using your stack that would be so helpful.

    • @alemtuzlak
      @alemtuzlak  Місяць тому +1

      If I make a course I'll make it as good as possible! 🙏

    • @prashlovessamosa
      @prashlovessamosa Місяць тому

      @alemtuzlak great can't wait for it.

  • @xHomu
    @xHomu Місяць тому +3

    "React Router 7, it's okay I guess."
    Now that's the lukewarm endorsement I was looking forward.

    • @alemtuzlak
      @alemtuzlak  Місяць тому

      Gotta call a spade a spade 😂

  • @vedovelli
    @vedovelli Місяць тому

    Hey hey! Good to HEAR you! 🤩

    • @alemtuzlak
      @alemtuzlak  Місяць тому

      Hey Fabio! Lovely to see you in my corner of the web!

  • @marta84-k5i
    @marta84-k5i Місяць тому +1

    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,

    • @alemtuzlak
      @alemtuzlak  Місяць тому +1

      I might do a "homegrown" middleware video to go over this, usually hono runs first then the remix app

  • @dragoninfintyskull
    @dragoninfintyskull Місяць тому

    Great video, keep em coming 🎉🎉🎉🎉

    • @alemtuzlak
      @alemtuzlak  Місяць тому

      Thank you so much, will do!

  • @GreenPixel00
    @GreenPixel00 Місяць тому +1

    I recently migratet to tanstack router and it so much better ❤

    • @alemtuzlak
      @alemtuzlak  Місяць тому

      Awesome! Glad you like it

  • @eleah2665
    @eleah2665 Місяць тому

    thanks Alem for your MANY contributions.

    • @alemtuzlak
      @alemtuzlak  Місяць тому

      @@eleah2665 thank you for watching!!

  • @saravanan049
    @saravanan049 Місяць тому

    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.

    • @alemtuzlak
      @alemtuzlak  Місяць тому

      Maybe this helps:
      ua-cam.com/video/CSaH-rexUdE/v-deo.html

    • @alemtuzlak
      @alemtuzlak  Місяць тому

      Maybe this helps:
      ua-cam.com/video/CSaH-rexUdE/v-deo.html

  • @narixius
    @narixius Місяць тому

    Gush, such a great content 🙌 Keep the great work. So happy following you content 🫶

  • @chil1181
    @chil1181 Місяць тому

    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?

    • @alemtuzlak
      @alemtuzlak  Місяць тому

      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?

  • @almina.brulic
    @almina.brulic Місяць тому

    Great video!

  • @existentialquest1509
    @existentialquest1509 Місяць тому

    Hi Alem, how about middleware ? I coudnt find any options to add middlware

    • @alemtuzlak
      @alemtuzlak  Місяць тому

      Middleware is coming in the upcoming releases, it's not out yet

  • @j0hannes5
    @j0hannes5 Місяць тому

    if I use
    npm create vite@latest
    will it have v7 already?
    and is the remix plugin still useful in some situations?

    • @alemtuzlak
      @alemtuzlak  Місяць тому +2

      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
      @alemtuzlak  Місяць тому +1

      I created and merged a PR to change this!

  • @KiiraKoko
    @KiiraKoko Місяць тому

    👍👍

  • @deanarvin
    @deanarvin Місяць тому

    Appreciate this! Great content.

    • @alemtuzlak
      @alemtuzlak  Місяць тому +1

      Thank you! Glad you like it :)

  • @balintcsaszar6831
    @balintcsaszar6831 Місяць тому

    finally React realized, "we should copy angular" :D ofc we need still react syntax so make it differently a bit

    • @alemtuzlak
      @alemtuzlak  Місяць тому

      Haha in what way exactly?

    • @balintcsaszar6831
      @balintcsaszar6831 Місяць тому +1

      @@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
      @alemtuzlak  Місяць тому

      @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

    • @balintcsaszar6831
      @balintcsaszar6831 Місяць тому

      @@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

    • @alemtuzlak
      @alemtuzlak  Місяць тому +1

      @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 😂

  • @hiyelbaz
    @hiyelbaz Місяць тому

    Just a reminder, rr7 as framework does not provide a proper client-side debugging experience yet.

    • @alemtuzlak
      @alemtuzlak  Місяць тому

      What do you mean by that?

  • @VeaceslavBARBARII
    @VeaceslavBARBARII Місяць тому

    Vite 6.0 is out

    • @alemtuzlak
      @alemtuzlak  Місяць тому

      Oh boy.. here we go again 😂

  • @Iandavidandrino
    @Iandavidandrino Місяць тому

    they've changed it again 😅