The End Of React Router

Sdílet
Vložit
  • čas přidán 25. 03. 2024
  • React Router was an essential part of the success of React. It is finally dead. Let's talk about why, including a bunch of Remix chatter.
    SOURCES
    / 1767560366027129211
    github.com/molefrog/wouter
    Check out my Twitch, Twitter, Discord more at t3.gg
    S/O Ph4se0n3 for the awesome edit 🙏
  • Věda a technologie

Komentáře • 217

  • @AquaQuokka
    @AquaQuokka Před 2 měsíci +585

    I'm not sure how to React to this.

    • @gillall4828
      @gillall4828 Před 2 měsíci +12

      Just go to react router npm package and follow the instructions.

    • @Redditard
      @Redditard Před 2 měsíci +67

      I really can't Express my feelings and what the Next steps should be.

    • @AquaQuokka
      @AquaQuokka Před 2 měsíci +11

      ​@@Redditard I couldn't have asked for a better reply 😂

    • @cetincetindag
      @cetincetindag Před 2 měsíci +29

      this really brought a new point of Vue to the subject. We should all take Nodes

    • @cslearn3044
      @cslearn3044 Před 2 měsíci

      Bruh ​@@gillall4828

  • @william383
    @william383 Před 2 měsíci +276

    Imagine showing this madness to someone who is unfamiliar with or new to webdev

    • @bm1259
      @bm1259 Před 2 měsíci

      i am this person i havent even gotten to all of the js nonsense yet. ive just been reading about the history of http and html for now on mdn

    • @bytehala
      @bytehala Před 2 měsíci +16

      Heck I’ve been at it for almost 10 years and it still makes me nauseous. 😅 For 90% of web dev you just pick a technology and run with it.

    • @DotSquall
      @DotSquall Před 2 měsíci +6

      This is me, learning JS at the moment and looking into technologies and frameworks to look for. It is quite overwhelming, but everyday I learn something new. I'll get there eventually.

    • @tobyzieglerrr
      @tobyzieglerrr Před 2 měsíci

      Absolute insanity... i will never go near any React if i can

    • @edism
      @edism Před 2 měsíci +6

      They won't need to care if they use php and laravel or rails and get on with being productive instead of jumping on the bandwagon.

  • @rubberdork
    @rubberdork Před 2 měsíci +79

    The final breaking change. They've been preparing us for this for years

  • @S4ntia60
    @S4ntia60 Před 2 měsíci +9

    it is so relieving that i don't know any of what this video is about

  • @jitx2797
    @jitx2797 Před 2 měsíci +13

    What if turbopack and rolldown team combines??? They are trying to build same thing right?? In the same language

  • @romanr5962
    @romanr5962 Před 2 měsíci +94

    Damn guys are you still in 2014 with these 'first,seconds...' ridiculous. I'm 8th btw

  • @roodood
    @roodood Před 2 měsíci +14

    Figuratively, in the last 10 years, all of web dev took a ride to the client and now back to the server. I am not confident though that our tools are now 10 years better than what we had 10 years ago. I think the biggest one that I feel day to day is actually just Tailwind, which is pretty orthogonal to that whole development. And Browsers got a lot better, too.

    • @ScottJohnson-cf8fk
      @ScottJohnson-cf8fk Před měsícem

      As someone newer to learning this, is it more worthwhile to focus on React or to focus on Next for the eventual job search this summer? I know the main difference is client vs server obviously but I see more Next tutorials than React specific ones these days

  • @kazishahinDe
    @kazishahinDe Před 2 měsíci +91

    In angular, we only use angular routing and happily live after

    • @oggy112
      @oggy112 Před 2 měsíci +55

      angular and happy don't go in the same sentence :/

    • @backupmemories897
      @backupmemories897 Před 2 měsíci +3

      true xD been using angular since version 2 and its version 17 now hahaha

    • @jitx2797
      @jitx2797 Před 2 měsíci

      angular devs have got fetish for java and C# and they can't accept that

    • @wojtek5693
      @wojtek5693 Před 2 měsíci +2

      ​@@mac.ignacio lmao no. When we are talking about frontend components as functions are better than classes

    • @lulzmachineify
      @lulzmachineify Před 2 měsíci +2

      @@wojtek5693 I mean yeah maybe. It has created a hole bunch of issues to deal with. Maybe in the end it will be better. But not having to go on this wild wild ride would also have been quite nice

  • @muchirajunior9751
    @muchirajunior9751 Před 2 měsíci +19

    Funny i still don't see how this replace React router Dom. Worse is nextjs looks more like a mess in a dynamic large scale.

  • @studiousllama4776
    @studiousllama4776 Před 2 měsíci +1

    This was super interesting. I would love a breakdown of Rolldown at some point.

  • @catalystcorp
    @catalystcorp Před 2 měsíci +3

    react-router has been a dumpster fire for ages. They constantly released new major versions with breaking changes, and by the time you got migrated over they had released a new major version with more breaking changes. I’m glad to see it go.

  • @woodylucas
    @woodylucas Před 2 měsíci

    Are you using Alfred and dash for your hotkeys?

  • @karthi290598
    @karthi290598 Před 2 měsíci +1

    I have a question.
    In next js app router, what is the best way to set default route
    example default route of my site should be '/dashboard' instead of '/'

    • @user-ik7rp8qz5g
      @user-ik7rp8qz5g Před 2 měsíci

      Redirect in config or middleware

    • @pyrocentury
      @pyrocentury Před 2 měsíci +1

      @@user-ik7rp8qz5g nah, what he's asking for is setting the basePath in the nextjs configs.

  • @JLarky
    @JLarky Před 2 měsíci +5

    I don't think "paid template for react router" is a fair way to talk about Remix, even very early versions

  • @bigboxSWE
    @bigboxSWE Před 2 měsíci +8

    6:38 deserves a screenshot + tweet

  • @hannad
    @hannad Před 2 měsíci +4

    Bundler wars is true. It hurt to see so many tools doing the exact same thing. JavaScript devs are wild

  • @talhabytheway
    @talhabytheway Před 2 měsíci +15

    So what's Next?

  • @alexandrodisla6285
    @alexandrodisla6285 Před 2 měsíci +18

    Men I don’t know why I didn’t stick to Flutter

  • @destroyonload3444
    @destroyonload3444 Před 2 měsíci +35

    WTF are they talking about? This has already been available with Vite without Remix for many months. It's incredibly easy to do with minimal configurations. I don't get what it is they're trying to take credit for, they didn't actually do anything new.

    • @hamm8934
      @hamm8934 Před 2 měsíci +21

      Welcome to the react ecosystem lol
      I had the same reaction as you

    • @backupmemories897
      @backupmemories897 Před 2 měsíci +3

      xD they making it sounds like revolutionary xD

    • @safarl45
      @safarl45 Před 2 měsíci +3

      Yea nothing new but they did create it in the first place

    • @ra-dro
      @ra-dro Před 2 měsíci +1

      Mind sharing more details? What exactly was available and where to read this. I'm not really familiar with those things, but now interested.

    • @SkandiaAUS
      @SkandiaAUS Před 2 měsíci

      ​​​@@ra-dro they're talking about Remix the web framework. Check it out because it's genuinely interesting the way they approach web app development within a single file for frontend and backend, and their routing is convention over config.

  • @finnwillows6031
    @finnwillows6031 Před 2 měsíci

    What a great explanation of the bundler landscape. Thanks!

  • @dwhxyz
    @dwhxyz Před 2 měsíci +1

    Thanks Theo - this video is perfect timing for me. I'm just about to embark on starting a new React project for work which is going to be pure SPA (with a C# .NET on the server side). I've been debating between using NextJS and Vite for a while now. Perhaps Remix with its SPA mode along with Vite would be the best option now ?

    • @everythingisfine9988
      @everythingisfine9988 Před 2 měsíci +4

      If you're going to do a traditional spa, vite react app is sufficient

    • @CoffeeToCode11
      @CoffeeToCode11 Před 2 měsíci +1

      React + Vite should do the trick, at this point IMO Blazor is not a bad alternative either

  • @jamjamatt8
    @jamjamatt8 Před měsícem +2

    oop. Post React Conf it seems like it's the other way around 😬

  • @justinbarca1835
    @justinbarca1835 Před 2 měsíci

    I like the look of this whiteboarding app you're using, anyone know what it is?

  • @GavinusMaximusMaster
    @GavinusMaximusMaster Před 2 měsíci

    Didn't you make a video a year ago about Tanstack saying it was the end of React Router?

  • @yhzh755
    @yhzh755 Před 2 měsíci

    How about Rspack?

  •  Před 2 měsíci

    Which drawing app is that?

  • @HikaruAkitsuki
    @HikaruAkitsuki Před 2 měsíci +1

    Is that Vite is already have Remix when you initialize npx create-vite-app? What's gonna be a difference if Remix themselves turn the Vanila Remix to Vite?

  • @neofox2526
    @neofox2526 Před 2 měsíci

    Man you guys had to manual make webpack configs back in the day? I really came in at the right time

    • @kevinmueller5376
      @kevinmueller5376 Před měsícem +1

      Well... speaking of enterprise projects, I had to do that until just about 8 months ago.

  • @Saeid-Za
    @Saeid-Za Před 2 měsíci +8

    Great video, thanks theo !
    One thing i never understand, why force this server-first behaviour?
    Splitted SPA has stil it usage primarily in dashboard websites, where server rendering stuff does not bring much to the table and forces the developers to setup a next server to deploy a dashboard website, not to mention the mismatch errors in highly dynamic pages and forcing on cookie based authentication for SSR to work.
    (SSR doesn't work with JWT for example)
    With SPA it could be easily be hosted on a simple http server to serve static files.
    I understand the benefit of the server model but let me choose when i want Server component, SSR or SPA.
    ALL I'm saying is that these decisions shouldn't be taken for developers, let them opt in for every page they want.
    IMO this is one of the primary reasons Remix got the attention it deserved, it filled a gap created with deprecation of CRA.
    This is the primary reason i think folks at nuxt approached these problems really carefully and delivered the best of both worlds with developers in control, sadly it is not as advertised as other "fancy" things in other communities.

  • @vytorbrb3568
    @vytorbrb3568 Před 5 dny

    So as a long term developer working with React Router & (DOM) my intellectual property is safe for this future (next 5y)?

  • @igrb
    @igrb Před 2 měsíci

    Damn
    axiom will be on remix at some point then
    didn't see it coming

  • @prestigealanazi2993
    @prestigealanazi2993 Před 2 měsíci +2

    I would rather use blazor , at this point js world is so messy that even intermediate developers wouldn't have a clue the nice thing about lazor is that you can use when ever needed both in the frontend and backend (polyglot programming) but still need slightly better DX and community support ! , ( did I mentioned you can warp react components ? )

  •  Před 2 měsíci +9

    I really believe Remix should get more hype from the community.

    • @IvanKleshnin
      @IvanKleshnin Před 2 měsíci

      I was hyped... for a few days. Then realized that form-based actions are untyped (unlike what we currently have at work with Zodios), that there's no adequate monorepo example, that docs are very shallow. Not sure if it's worth the hype, at least not with React at the core. SvelteKit and SolidStart look more interesting IMO.

  • @Exilum
    @Exilum Před 2 měsíci +4

    Guys, yes Vite provides its own SSR paradigm, here we're talking about frameworks that have much more than a bundler.

  • @cetincetindag
    @cetincetindag Před 2 měsíci +33

    I wish react had a router of their own like these libraries and we didn't need another imports for basic functionality... great news nonetheless

    • @SXsoft99
      @SXsoft99 Před 2 měsíci +5

      react was at way a way to manipulate the dom, just drop in a project and add events

  • @mamurdadkhan9068
    @mamurdadkhan9068 Před 2 měsíci +2

    Fuck, I just learned it and you telling me it is dead?!?

  • @neofox2526
    @neofox2526 Před 2 měsíci +2

    Got clickbaited but learnt about JS bundlers so its not so bad

  • @Abdullah-yq7jp
    @Abdullah-yq7jp Před 2 měsíci

    Not sure how I feel about 10 largest react code bases all using react router, Facebook afaik is not, twitch, reddit yes, what others though?

  • @AliHassan-iy1eb
    @AliHassan-iy1eb Před 2 měsíci +1

    honestly this was an amazing video, very informal
    love Theo

    • @gownerjones
      @gownerjones Před 2 měsíci +4

      The information came from tweets and articles he reads out loud. Great content, reading other people's stuff out loud.

    • @nuntius1
      @nuntius1 Před 2 měsíci

      lol

    • @AliHassan-iy1eb
      @AliHassan-iy1eb Před 2 měsíci

      @@gownerjones who hurt you bro

  • @ratanlambha2602
    @ratanlambha2602 Před 2 měsíci +1

    looking cool in this hairstyle bro

  • @asdqwe4427
    @asdqwe4427 Před 2 měsíci +2

    Wohoo let's break everything again

  • @coffeemakir1977
    @coffeemakir1977 Před 2 měsíci

    I started learning react years ago,had to stop. Not enough prior knowledge + everything breaking. But It's been fun watching😅

  • @svenst
    @svenst Před 2 měsíci

    Cool! But how about Nuxt? Would love to see Nuxt in this comparison 👍

    • @t3dotgg
      @t3dotgg  Před 2 měsíci

      Nuxt works identical to old next in this, but uses Vite now. Generally speaking, the innovation on the Nuxt side is in the dev tools and features, not the technical implementations

    • @quintencabo
      @quintencabo Před 2 měsíci

      ​@@t3dotgg they also made nitro

  • @eran2670
    @eran2670 Před 2 měsíci +1

    love ya

  • @hamburger--fries
    @hamburger--fries Před 2 měsíci +2

    Tanstack Router is AMAZING!!!!

    • @HyuLilium
      @HyuLilium Před 2 měsíci

      Maybe. But tanstack table is trash

  • @blessdarah1256
    @blessdarah1256 Před 2 měsíci

    Remix for the RUN!!!

  • @eikyoutube
    @eikyoutube Před 2 měsíci +8

    The thing I hate about you is the bait titles you put. You literally put "_ is Dead"

  • @CoolPupGaming
    @CoolPupGaming Před 2 měsíci +1

    Another reason i use Angular. From v2 to v17 we always use the included router module unlike react where you can use react router (which isn't even made by the react team), vite, or routers built into next js, gatsby.
    Its a nightmare, where is the consistency?

  • @_Sajgon_
    @_Sajgon_ Před 2 měsíci +1

    React Router when you use JS and don't care about putting routes path in any const or strict architecture way:
    Welcome traveller!
    React Router when you trying use it with TS with strict routing:
    *Goes brrrrrrrrrr*

  • @alexenax1109
    @alexenax1109 Před 2 měsíci

    Finally!

  • @AnudeepDONDONDONRlol
    @AnudeepDONDONDONRlol Před 2 měsíci

    i was just LEARNING react router

  •  Před 2 měsíci +7

    Your title says "the end", you description says "finally dead", but then you say that the project might be merging, which means that React Router is very much here to stay. Do you… want it gone for some reason? Has the React community been complaining about its existence? Why did you think it was important to announce this as a fact based on a single thread, and then proceed to not talk about the subject anymore?

    • @safarl45
      @safarl45 Před 2 měsíci +5

      Views

    • @stoogel
      @stoogel Před 2 měsíci +2

      First you write the clickbait, then you get the views, then you get the clout

  • @AdrianFrimpong
    @AdrianFrimpong Před 2 měsíci

    make that rolldown vid plzzz!!!

  • @justjoshingaround
    @justjoshingaround Před 2 měsíci +1

    Funny enough, I actually liked making my Webpack configs. It was awesome to use openly available plugins to optimize my own code!
    However, I love the way things are going with things like Parcel: obfuscate the build details and get the best optimizations out of the box.

    • @ivanfilhoz
      @ivanfilhoz Před 2 měsíci

      I love Parcel. Not sure how Vite became the standard so quick when Parcel has been doing the right thing for years.

  • @vytorbrb3568
    @vytorbrb3568 Před 5 dny

    Very informative, Hey Theo do u really want to know why i follow your content?
    I'm 29y
    Fullstack dev (Node+React) since late 2018
    Now days Sr. Software Engineer working remotely with American contracts
    I WANT TO KNOW IF MY BOOK VALUE (ALL THE SHIT I'VE LEARNED SO FAR) IS STILL HIGH IN THE GOD DAMNED MARKET! simply as that, nothing more, nothing less

  • @i_am_pasindu
    @i_am_pasindu Před 2 měsíci

    Okay, I am back to farming again

  • @CottidaeSEA
    @CottidaeSEA Před 2 měsíci +1

    JavaScript. I love it.

  • @omri9325
    @omri9325 Před 2 měsíci

    Why all the router libs for react suck if you use it as SPA?

  • @adiswa123
    @adiswa123 Před 2 měsíci +4

    I would love to see a video on why you think Next.js with app router has a better data loading + mutation story than Remix. Because imo Remix is miles better than what I see in Next.

    • @t3dotgg
      @t3dotgg  Před 2 měsíci +4

      - It's composable
      That's about it

    • @oscarljimenez5717
      @oscarljimenez5717 Před 2 měsíci

      Composabilty my friend.

    • @ruaidhrilumsden
      @ruaidhrilumsden Před 2 měsíci +1

      Yeah as much as I'm a Remix fan boy, I find data loading being tied to components rather than routes a more intuitive mental model - but I suppose that's because my brain has been so infected by React SPAs and their data loading patterns over the years!

  • @JakobRossner-qj1wo
    @JakobRossner-qj1wo Před 2 měsíci +1

    That Turbopack isnt moving is such a tragedy.

  • @bluecup25
    @bluecup25 Před 2 měsíci

    It's the eeend of react router
    as we know it.

  • @abdulrahamantalal1319
    @abdulrahamantalal1319 Před 2 měsíci

    you have uploaded 3 videos already saying react router ended already, that is confusing for beginners and people watching you trying to improve.
    I tried other options you share and just threw them away for the basic most used react router. Seems like the focus is merely on the tools rather on the products.

  • @xX_dash_Xx
    @xX_dash_Xx Před 2 měsíci

    bro i don't get why there is so much shit always changing in the web dev world when like 99% of people use 3 websites 99% of the time they browse. and they fucking browse on their phones!

  • @JEsterCW
    @JEsterCW Před 2 měsíci +8

    Remix❤

  • @bhanusharma2363
    @bhanusharma2363 Před 2 měsíci

    War of bundlers??

  • @WilliamShrek
    @WilliamShrek Před 2 měsíci +1

    This is emotional damage to React Router users.

  • @DevLife717
    @DevLife717 Před 2 měsíci

    Web dev is a hot mess! It all needs to be razed to the ground and started anew. HTML, CSS and JavaScript needs to be dumped. Replaced with what I don’t know maybe something grounded in web assembly but this video is proof to me that it all needs a major overhaul. Otherwise this churn is just going to get worse.

  • @oliver970
    @oliver970 Před 2 měsíci

    Why are you awake at 4 am 🤣

  • @user-be3cd4cx3o
    @user-be3cd4cx3o Před 2 měsíci

    Googles "what's a bundler"

  • @DoctorSoulis
    @DoctorSoulis Před 2 měsíci +2

    Than god I moved to Laravel.

  • @danilovukovic1972
    @danilovukovic1972 Před 2 měsíci +3

    my man invented a new content branch. "pop-web-dev"

  • @griffadev
    @griffadev Před 2 měsíci

    For react router to become remix companies would have to get off web pack first lmao

  • @maduemeka6982
    @maduemeka6982 Před 2 měsíci

    Very smart man 🎉🎉🎉

  • @doc8527
    @doc8527 Před 2 měsíci +2

    TLDR:
    Next version of "React Router" may or may not merge/flow into "Remix Router", hence the install package naming might change for the end users (devs), depending on the decision.
    If you are so panic with your comment, you just don't watch the first 1min of the video. Well, as least you know the news because of the clickbait, better than later panic about why React Router never got updated (if they change to remix router), and asked some random questions in github repo or reddit or twitter or whatever, and blame the maintainers.

  • @BugMug09
    @BugMug09 Před 2 měsíci

    Finally

  • @werneromling
    @werneromling Před 2 měsíci +1

    Wow, I've seen the video in the minute it came out!

  • @erikslorenz
    @erikslorenz Před 2 měsíci

    I hate all this lol. Client side routing has always been kinda goofy but at least it was simple

  • @jesustzinon
    @jesustzinon Před 2 měsíci

    i just started a project with react router lmao

  • @DanKreiger
    @DanKreiger Před 2 měsíci

    as such

  • @chhornponleu8191
    @chhornponleu8191 Před 2 měsíci

    no react router better than react router. it's time to move on

  • @zaripych
    @zaripych Před 2 měsíci

    Super useful breakdown on bundlers chaos ❤

  • @jwoods9659
    @jwoods9659 Před 2 měsíci +1

    This is stupid I moved on the VUE

  • @nuntius1
    @nuntius1 Před 2 měsíci +3

    the end of react youtuber

  • @gkiokan
    @gkiokan Před 2 měsíci +1

    Will check this later but I love to see how Vue is consistent on it's upgrades without having breaking changes. I have the feeling Reacts gets more and more like Angular by all the latest updates that it introduces?

    • @KevinVandyTech
      @KevinVandyTech Před 2 měsíci +4

      React itself famously has had almost no breaking changes. Vue 3 had a ton of breaking changes. So what are you talking about?

    • @gkiokan
      @gkiokan Před 2 měsíci

      @@KevinVandyTech I am talking about all the changes that lately happend to React that devs are complaining about that resolved into rewriting existing code (mostly). Not sure which breaking Changes you mean on Vue 3 but I can tell you it's by far simpler, even you can get into complex syntax like on React, too. But the question is, why would do that freely if you can get the same result with less hassle?
      Not gonna protect Vue over React or anything, just saying what I noticed from most of the devs out there. But still prefer Vue over React.

  • @vorche_
    @vorche_ Před 2 měsíci

    ay the clickbaits are strong

  • @georgiyanev7822
    @georgiyanev7822 Před 2 měsíci

    Yes, webpack sucks and doesn't suck at the same time. Because I remember all those years ago that it did the job and am grateful for it even if it's not the best anymore.

  • @jamesking2439
    @jamesking2439 Před 2 měsíci +2

    I have never understood the need for routing and state management libraries. Those have always been easy to write by hand and have been a minuscule fraction of my projects. I feel like I'm taking crazy pills.

  • @rsrini7
    @rsrini7 Před 2 měsíci

    clickbait = 100,000 dislikes (youtube can hide)

  • @KWerder92
    @KWerder92 Před 2 měsíci

    37th

  • @adeptiworks
    @adeptiworks Před 2 měsíci

    If you're not building eCommerce, SPA is the way to go usually. Wonder why Remix team took so long to realize it.

  • @sunnyheheheh9401
    @sunnyheheheh9401 Před 2 měsíci

    Im 12th 😂

  • @igorsantos07
    @igorsantos07 Před 2 měsíci +1

    ugh, what a clickbait

  • @tabletuser123
    @tabletuser123 Před 2 měsíci +10

    For those curious, there are 1.4k likes and 600 dislikes as of right now. Lmao

  • @domdirector
    @domdirector Před 2 měsíci

    soydevs

  • @debanjantewary4454
    @debanjantewary4454 Před 2 měsíci

    First 😁

  • @turculaurentiu91
    @turculaurentiu91 Před 2 měsíci +4

    This video sells HTMX so bad 😁

  • @hanse81
    @hanse81 Před 2 měsíci +2

    Funny how a washed up CZcamsr can have a better grade then you on Social Blade. I am also offended that Social Blade thinks he can have 16.5M views in the last month while you, God himself, the best creator ever, said he only got 30k views on his videos.

  • @emmanuelchucks
    @emmanuelchucks Před 2 měsíci

    I want to be first comment so bad (Don't delete this)

    • @t3dotgg
      @t3dotgg  Před 2 měsíci +9

      Sadly you are 4th

    • @tuminspace
      @tuminspace Před 2 měsíci

      I shall be 7th@@t3dotgg

    • @emmanuelchucks
      @emmanuelchucks Před 2 měsíci +2

      @@t3dotgg Damn it

    • @mattiarasulo9934
      @mattiarasulo9934 Před 2 měsíci

      You are first now!

    • @lumberjack5880
      @lumberjack5880 Před 2 měsíci +6

      @@t3dotggwhy are you so dedicated to slandering DarkViperAU's name? you're clearly being petty about the fact that a company didn't want you to post your "reaction" to their video that they worked so hard on! Yet you feel that the company is in the wrong and that you have all the power in the world to do whatever you want, even if it's with someone else's content. I could imagine if your wife told you to turn left, you'd probably turn right instead since you think you're just so powerful and you're always correct no matter the situation. Get a grip and maybe go buy some common sense bud!

  • @outtrigger
    @outtrigger Před 2 měsíci +1

    first

  • @fredzugs
    @fredzugs Před 2 měsíci

    First