I Was Wrong About React Router.

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 166

  • @pedroalmeida6728
    @pedroalmeida6728 6 месяцев назад +65

    Remix is dead, long live Remix!

  • @mike-2342
    @mike-2342 6 месяцев назад +101

    Ryan: "It's not dead, it's just taking a nap!"

    • @flutter-fm1kl
      @flutter-fm1kl 6 месяцев назад +2

      Who flutter

    • @blazer511
      @blazer511 6 месяцев назад +6

      Let's talk about how theo is wrong about many things but people blindly follow him

    • @scottcorgan
      @scottcorgan 6 месяцев назад

      “nap” is the single word that threw the world into a fit

    • @whramijg
      @whramijg Месяц назад

      I prefer the metaphor about the framework getting a new home in upstate New York, at a farm, behind a red barn. And that shotgun-sounding noise was the welcome confetti for Remix when it got inducted into its new home.

    • @whramijg
      @whramijg Месяц назад

      @@blazer511 can you define "follow"?
      Do you mean people blindly follow him, by subscribing to his channel?
      Or, do you mean people follow him, by accepting his (sponsored, nearly always) takes, as if they are generally applicable and trustworthy advice?

  • @muximuxicofficial518
    @muximuxicofficial518 6 месяцев назад +5

    I saw the live and now this video, overall a nice summary lesson, thank you for your work. Hugs from PT

  • @AyushSingh-yk6xt
    @AyushSingh-yk6xt 6 месяцев назад +54

    Every other Theo video starts with, i was so wrong about my following take on my last video. 😂
    Gotta love his honesty!

    • @lionlike5856
      @lionlike5856 6 месяцев назад +36

      Maybe the moral of the story is to stop confidently pushing these hot takes that are constantly proven wrong, but then the dude wouldn’t have any content.

    • @blazer511
      @blazer511 6 месяцев назад +15

      I do appreciate his honesty, but people need to stop blindly taking his word and takes as the truth

    • @joeydgaf
      @joeydgaf 6 месяцев назад

      I was just thinking the same thing 😂

    • @TheRealFallingFist
      @TheRealFallingFist 6 месяцев назад +2

      lol, weird jump in logic. being regularly dishonest about your knowledge on stuff and then admitting your dishonesty when you're proven wrong is not honesty, it's just... backtracking on your statements

    • @kylevdr
      @kylevdr 6 месяцев назад

      "Gotta love his honesty" The reason he's wrong all the time is because he's so incredibly dishonest

  • @jon1867
    @jon1867 6 месяцев назад +7

    praying this transition goes smooth, I will say 2 years into a remix app and I don't regret it yet. It's got its rough edges, but overall been able to do everything I needed. I'm worried about RSC but also it seems like if they confine it to being used in the loaders primarily it shouldn't mess with the rest of the way that react works outside of the loaders.

  • @BeeBeeEight
    @BeeBeeEight 6 месяцев назад +10

    For now we can summarize about Remix/React Router in 2 points:
    1. Remix === React Router returns true
    2. Neither Remix nor React Router will ever die as long as Shopify never dies

    • @sandibi13
      @sandibi13 5 месяцев назад

      haha good points

  • @nitemunky76
    @nitemunky76 6 месяцев назад +2

    I'm a long time Remix advocate. Really excited for the future of Remix and RR...

  • @Ivan-wm6gm
    @Ivan-wm6gm 6 месяцев назад +6

    My react projects from my company still uses old version of react-router and my team has no plans on shifting to next.js but with this new update from react-router I'm 100% sure that my team will be glad to upgrade soon

  • @Ohmriginal722
    @Ohmriginal722 6 месяцев назад +1

    My boy Jacob got name dropped in a Theo video! How cool! Been friends since the gamedev days, he's movin up in the world.

  • @PhilipAlexanderHassialis
    @PhilipAlexanderHassialis 6 месяцев назад +2

    9:25 - finally a based opinion by Theo. Took you time enough but we finally got there. When we get *asynchronous functional components* on the client exclusively, then we are talking. Not everyone can or has any obligation to maintain a Node image - or, heck, wants to serve their UI, through primarily an express-y thing that runs on Node. Plus, not everyone needs or even wants SSR.

  • @patrickjreid
    @patrickjreid 6 месяцев назад +1

    I am super hyped. I recently converted and next 14 app to vite and react router v6 and it felt like a dream. Iwas struggling and fighting with next constantly. The routing sucked, especially if you wanted to pass data from page to page. When I got to use the ssr stuff it was cool, but still a bit of a pain. I just loved the react router documentation. There were less gaps and it just made sense. I have been a remix fan for a while, this experience reminded me why. I just don't like next very much and I think the remix team is far more innovative and transparent. Next isn't as clear under the hood.

  • @hyprdia
    @hyprdia 5 месяцев назад

    One of your best video Theo, keep up the good work!

  • @faraonch
    @faraonch 6 месяцев назад

    Interesting. As a dedicated NextJS developer, I always kept an eye on Remix and tested it to understand it better and stay updated. It's been a healthy and friendly competitor, pushing NextJS to improve and make good decisions (like RSC and Forms).
    I used to think of Remix as another fullstack framework, almost as big as NextJS. However, the rename changed my perspective. Now it feels more like, "Hey, we are just a useful library, by the way" 🙂

  • @efkastner
    @efkastner 6 месяцев назад +1

    This reminds me of when Rails and Merb merged in 2008! Yahuda Katz has a great post on how that all went

  • @hzhu
    @hzhu 6 месяцев назад

    Thanks for the commentary! Excited.

  • @ryanquinn1257
    @ryanquinn1257 6 месяцев назад

    I really really like Ryan and Remix for this.
    A lot of people wondered if Remix was selling out when acquired by Shopify.
    I would argue this is quite the opposit. Shopify providing the foundation and ability to find the best form of React Router AND Remix.
    He let innovation take the lead over brand even though Remix Router would be a cool name too!

  • @deounix
    @deounix 6 месяцев назад +9

    Currently, I'm using Expo to write my mobile apps (Android and iOS), desktop apps (Mac, Windows, Linux), and my website. :D
    I've been using React since 2014, and I've tried every single React framework. Having worked on dozens of React and React Native projects, I can confidently say that Expo will surpass them all in the next two years!

    • @MsVsmaster
      @MsVsmaster 6 месяцев назад +4

      Before or after lunch time?

    • @deounix
      @deounix 6 месяцев назад

      ​@@MsVsmaster Why should I use Next.js, Remix, or Gatsby for building websites when I can use React and React Native (Expo) to build everything?
      I mentioned two years because, at present, Expo lacks support for all desktop features. However, they are making significant progress in addressing this.

    • @darana1142
      @darana1142 6 месяцев назад +2

      lil bro expo uses react native.

    • @deounix
      @deounix 6 месяцев назад

      @@darana1142 Anyway, anyone who knows React also knows React Native since they share the same concepts.

  • @ruaidhrilumsden
    @ruaidhrilumsden 6 месяцев назад +6

    Holy crap, the calibre of developers on that sream! I feel a bit starstruck!

  • @anamitraupadhyay
    @anamitraupadhyay 6 месяцев назад +10

    Some of the comments💀👌just get lost already...its about react router darn it!

    • @banfiesta7158
      @banfiesta7158 6 месяцев назад +1

      Dude You uploaded it right in the middle of me watching why react router is dead lmao.

    • @anamitraupadhyay
      @anamitraupadhyay 6 месяцев назад

      @@banfiesta7158 lmao same

    • @anamitraupadhyay
      @anamitraupadhyay 6 месяцев назад

      @@banfiesta7158 i think theo been upto some 🌿 herbs 🤣

    • @banfiesta7158
      @banfiesta7158 6 месяцев назад

      @@anamitraupadhyay ha, I don’t know why did I put my comment there but I’ll leave it like it is

    • @anamitraupadhyay
      @anamitraupadhyay 6 месяцев назад

      @@banfiesta7158 dude i think my herb 🌿 comment was removed💀okay...whoever did that it was a joke aight? Sorry.

  • @Pavel-wj7gy
    @Pavel-wj7gy 6 месяцев назад +7

    Like you being wrong 90% of the time?

  • @RNDev666
    @RNDev666 6 месяцев назад +29

    ayyyo wtf are these comments

  • @naranyala_dev
    @naranyala_dev 6 месяцев назад

    I felt the vibe, full of adventure

  • @Nekroido
    @Nekroido 6 месяцев назад

    I've been experimenting with Tanstack Router for a dynamic app prototype, but React Router was much more fit for the task: I can nest route trees within my components with JSX and which is way easier to read and maintain. The only gripe I have with RR is that I can't `useMatches` hook with nested routes to build a breadcrumbs component. Still, an insanely cool and useful library which is go-to for most of my frontend projects

  • @onixenic
    @onixenic 6 месяцев назад

    I am at the really start of one of my projects done with Remix. What would you guys recommend to do? Switch immediately to RR, or continue with Remix?

  • @timrobinson891
    @timrobinson891 Месяц назад +1

    What's dispiriting for a lot of React users is that the churn in the tools and infrastructure doesn't seem to be stabilizing. After 10 years there's still a "revolution" every year and I'm sure everything I do today will have to be completely rewritten when the next paradigm shift happens next year😥

  • @mchisolm0
    @mchisolm0 6 месяцев назад

    I’m super excited to learn more. Also super pumped to see a community that genuinely seems to be collaborative and cooperative, seeking the best results for everyone.

  • @mosescosme8629
    @mosescosme8629 6 месяцев назад +1

    Remix became a rapper? In this economy? During the WWIII of rap? Good luck.

  • @FeLiNe418
    @FeLiNe418 6 месяцев назад +5

    I've already migrated to TanStack Router (un)fortunately

    • @t3dotgg
      @t3dotgg  6 месяцев назад +7

      Tanstack router is pretty hype ngl

    • @damon8541
      @damon8541 6 месяцев назад +4

      @@t3dotgg I tried it in a project recently. The crazy things TanStack router does to achieve its "type safe" routes kills the TypeScript language server, making things like intellisense less snappy, and overall I would say the dev experience is worse.

    • @FeLiNe418
      @FeLiNe418 6 месяцев назад

      @@damon8541 Are you sure you're not doing something wrong?

    • @CottidaeSEA
      @CottidaeSEA 6 месяцев назад +1

      ​@@damon8541I feel like that's more of a JavaScript thing than a problem with the library. Also, I am saying JavaScript because TypeScript is not a language, it's a linter. It has to conform to JavaScript rules which is the problem.

    • @HeyRistaa
      @HeyRistaa 6 месяцев назад +1

      Tanstack router is good enough man, no worries

  • @Kaczucha888
    @Kaczucha888 6 месяцев назад +19

    Remix just became better than Next just for the ease of use

    • @incarnateTheGreat
      @incarnateTheGreat 6 месяцев назад +2

      I'm enjoying Remix right now. In no real rush to go back to Next, but it wouldn't be bad if I had to.

    • @blessdarah1256
      @blessdarah1256 6 месяцев назад +2

      @@incarnateTheGreat I'm all into Remix. NextJs has been changing too much and I hate that.

    • @incarnateTheGreat
      @incarnateTheGreat 6 месяцев назад

      @@blessdarah1256 that's fair. Sometimes I wonder if the Next crew feel like they have to make changes to keep up with everyone else and use React Canary releases.
      I haven't had any issues with Next releases, but Remix promotes a form of simplicity that I can't ignore. Excited for their take on RSC.

    • @alexanderhorner
      @alexanderhorner 6 месяцев назад +2

      I dumped next js for react router v6 for this reason. Glad I can now use it even for projects that require more advanced server side rendering and RSCs etc. SO EXCITING

    • @LutherDePapier
      @LutherDePapier 6 месяцев назад

      I agree.

  • @andreyyastrebtsov4367
    @andreyyastrebtsov4367 6 месяцев назад +3

    So am I understanding it correctly? I have fresh Remix app right now currently in active development. I started it with vite plugin. So when RR V7 is out I will migrate to it. And AFTER THAT when the new Remix comes out with RSC i can migrate again to Remix to use RSC??? Is that right? Or RSC will be avaliable in RR V7??

    • @kevinisaac4958
      @kevinisaac4958 6 месяцев назад

      Looks like all Remix features will be available in RR v7+ going forward. Remix as a separate standalone package won't be needed.

    • @infantfrontender6131
      @infantfrontender6131 6 месяцев назад +2

      Everything will be in RRv7

    • @andreyyastrebtsov4367
      @andreyyastrebtsov4367 6 месяцев назад

      @@infantfrontender6131 nice!

    • @ivan.jeremic
      @ivan.jeremic 6 месяцев назад

      @@infantfrontender6131 yes

    • @mentoriii3475
      @mentoriii3475 6 месяцев назад

      @@infantfrontender6131 yes basically, as an example wherever you use Link, the import would look like "@remix-run/react" -> "react-router-dom" or whatever they are calling it now

  • @MartinRojas
    @MartinRojas 3 месяца назад

    RSC is Expensive in $$$$ server cost. Its an important technology to have, but now you need to manage a server to keep your app running. No more just having a CDN for your files and an API for the backend. Serverless cost for an RSC application can quickly for exponential in the thousands with just 5k of traffic if not optimized just right

    • @t3dotgg
      @t3dotgg  3 месяца назад +1

      I've debunked this a billion times but I'll do it here quick because you're a checkmark
      tl;dr - if your requests require authentication, your only options are deduping through Relay (GraphQL) or RSCs, otherwise you're reauthing dozens of times per page request.
      If I load a page in a React SPA, and there are 6 components requiring personalized data, it's very likely all 6 make their own requests. If each one requires the request to be authenticated, that's 6x more network requests, auth checks, DB queries, etc.
      If the server renders the page, it has the "massive" cost of running JS for a few ms. But it exponentially decreases the number of requests going to the server per page load, which has obvious benefits to the server bill.
      The only way RSC is "$$$$" compared to SPA is if your data never changes. Which means you're not shipping real software. 🫡

  • @Justbur
    @Justbur 6 месяцев назад +2

    I don’t know what’s going on 😮

  • @JLarky
    @JLarky 6 месяцев назад

    3:09 Remix wasn't aligned to React Router versions :) Remix v0/v1/v2 all based on RR v6

  • @madangryscientis
    @madangryscientis 6 месяцев назад +2

    Upgrading from v5 to v6 took 3 months of full-time dev work in a large code base. Honestly I don't trust the react router team.

    • @FabuBrik
      @FabuBrik 6 месяцев назад

      I feel this deep in my soul.

    • @mentoriii3475
      @mentoriii3475 6 месяцев назад

      unless you wanted to use new Data router, that migration would be useless and a waste of time

  • @svenmify
    @svenmify 6 месяцев назад

    I fail to see how a browser based solidity editor fits into react, but I can’t keep up with all the tech anymore

  • @sierragutenberg
    @sierragutenberg 6 месяцев назад +24

    The bots are already here? lol

    • @dough-pizza
      @dough-pizza 6 месяцев назад

      As an AI language model I don't appreciate you calling me a "bot"

  • @jrnxf
    @jrnxf 6 месяцев назад +1

    "I'm excited for a future where you can use server components in more dynamic ways, and compose them, and do all the cool things I'm used to doing in NextJS". Can you speak on this? What's so much better about how Next does RSC in your mind?

    • @RyanFlorence
      @RyanFlorence 6 месяцев назад +2

      I don't know what he's thinking of either. Like I said in the chat a few times to all the "can it?" questions: it's RSC, it can do all the RSC things! 😆

  • @j0hannes5
    @j0hannes5 6 месяцев назад +2

    My App was started with CRA a Long time ago. And it used React Router v6
    How and Why would I Switch to Vite and React Router v7
    Would I have to Switch to Vite as well?

    • @infantfrontender6131
      @infantfrontender6131 6 месяцев назад +1

      You can use RRv7 in your code without problems. But if you want all Remix features, then you need to migrate to Vite and Remix plugin for Vite

    • @ark_knight
      @ark_knight 6 месяцев назад +1

      Well, if you don't want to....then you don't have to lol. this is for people who want to. If you are interested in, I am sure they will write a blog or documentation about it.

    • @j0hannes5
      @j0hannes5 6 месяцев назад

      What does it entail to switch to Vite?

    • @ivan.jeremic
      @ivan.jeremic 6 месяцев назад

      @@j0hannes5 because it's currently the best tool.

    • @spl420
      @spl420 6 месяцев назад +1

      @@j0hannes5 Depending on how custom your current build config right now. If you changed nothing in default config of some build system, default config for vite will probably do the same thing. Overall, switch on small and middle-size project is probably will end in few google searches. Overall, there's no reason not to migrate.

  • @HoNow222
    @HoNow222 6 месяцев назад +33

    can't believe remix is already dead. wtf. i don't want to work in front end anymore, i'm tired boss.

    • @ivan.jeremic
      @ivan.jeremic 6 месяцев назад +16

      Is this a serious comment or are people just too lazy to read what is really going on? The new ReactRouter will have remix inside so nothing changes or goes away all you do is stop calling it Remix and you just change imports😂 damn people please read before commenting.

    • @prs_wjy
      @prs_wjy 6 месяцев назад +3

      ???
      Bruh, please at least watch the first 2min first

  • @inversemetric
    @inversemetric 6 месяцев назад

    Every company I've worked has needed to upgrade react-router. It's VERY hard to keep it up to date.

  • @Blackweirdo
    @Blackweirdo 6 месяцев назад

    What would be a good place to start learning about RSC?

    • @geelemo
      @geelemo 4 месяца назад

      Depends on where you are with your dev journey. If you already know react just stick to the docs and youtube videos

  • @centereddev
    @centereddev 6 месяцев назад

    Glad I didn’t listen to Theo when choosing Remix our last major project. It’s been great.

  • @cuca_dev
    @cuca_dev 6 месяцев назад +1

    You’re often wrong, as anyone usually since forecasting is complex (even more when we talk about technologies, it seems).

  • @neoish
    @neoish 6 месяцев назад +1

    The first few comments are always kind of stupid. It’s annoying. Contribute to the topic darn it.

  • @ShaneyBoi7
    @ShaneyBoi7 6 месяцев назад

    I am so curious to know how React Router v7 and Tanstack Router differ now.

  • @DnKZone
    @DnKZone 3 месяца назад

    Can anybody tell me how React router and Remix is related? I am confused

  • @upamanyumukharji3157
    @upamanyumukharji3157 6 месяцев назад

    i am so confused. what is the difference between remix and this react-router?

  • @_mocha750
    @_mocha750 6 месяцев назад

    Amazing video :D ty

  • @Nhan-ti5go
    @Nhan-ti5go 6 месяцев назад +1

    00:01 React Router is here to stay despite initial doubts
    01:50 React Router V7 updates include non-breaking upgrade and remix integration
    03:29 React Router version 7 introduces significant new features.
    05:19 Remix migrated to Vite much faster than expected
    07:00 Remix is a v plugin that makes react router more convenient to use and deploy.
    08:47 Transitioning V plugin to React Router V7 for future enhancements.
    10:32 Server components in React Router future-proof React apps
    12:15 Shopify's acquisition of Remix allowed the team to grow and improve significantly.
    14:00 Server components in React Router enable easy rendering from server to client.
    15:54 Server components simplify data handling for components.
    17:39 Loader in React Router handles content loading and requests.

  • @Me-vc4sf
    @Me-vc4sf 5 месяцев назад

    So you're not getting sponsored by remix instead of next?

  • @sobanya_228
    @sobanya_228 6 месяцев назад

    Did the previous version of React router also eat some other new and shiny router?

  • @fev4
    @fev4 6 месяцев назад

    why is that article dated May 26th 2024? are they time travelling or something? I mean I can see it happening with how Ryan has aged so fast after starting Remix, but damn, took me by surprise

  • @durcodavid
    @durcodavid 6 месяцев назад +1

    @theo State of HTML 2023 results analysis please.

  • @PetarVukmanovic
    @PetarVukmanovic 6 месяцев назад

    did you just fire shots on Taylor Otwell??? :D

  • @JohnDoe-jc4xp
    @JohnDoe-jc4xp 6 месяцев назад +7

    Your also wrong about Laravel being dead! SMH

  • @TravisDraper-ih9ic
    @TravisDraper-ih9ic 6 месяцев назад

    Also got one of those dynamite shirts XD

  • @PaulSebastianM
    @PaulSebastianM 6 месяцев назад +1

    Says a lot about how seriously we should take what comes out of your mouth. :D

    • @t3dotgg
      @t3dotgg  6 месяцев назад

      Very seriously because I was so close to 100% accurate? :D

  • @tato-chip7612
    @tato-chip7612 Месяц назад

    theo why are your videos so dark.

  • @TheYinyangman
    @TheYinyangman 6 месяцев назад

    What’s happening with shopify hydrogen

  • @AmodeusR
    @AmodeusR 6 месяцев назад +1

    Strange. React Router will be now a framework?

    • @SamualN
      @SamualN 6 месяцев назад +2

      the bulk of a modern framework *is* its router

    • @ivan.jeremic
      @ivan.jeremic 6 месяцев назад

      the core of all frameworks is the router.

    • @AmodeusR
      @AmodeusR 6 месяцев назад

      @@ivan.jeremic It's quite weird to have a framework called "react router", though.

  • @mistersunday_
    @mistersunday_ 6 месяцев назад

    I ❤💿

  • @ulrich-tonmoy
    @ulrich-tonmoy 6 месяцев назад

    Remix bring the ssr/rsc to react natively while next took react to next to do it in their own way

  • @hesam-init
    @hesam-init 6 месяцев назад

    ppl who use tanstack router are real chads

  • @whramijg
    @whramijg Месяц назад

    call it Remiouter Xeact

  • @chrismastere
    @chrismastere 6 месяцев назад

    Another day, another breaking change in react-router. Migration has never not been painful.
    React-router considered harmful.

  • @geelemo
    @geelemo 4 месяца назад

    For me i think RSC is like AI - Not ready. I'll wait a year or 2 to rewrite. Still on next version 12 😅

  • @i0x37
    @i0x37 6 месяцев назад +3

    you've been wrong about a lot of things lately

    • @t3dotgg
      @t3dotgg  6 месяцев назад +1

      Name 3

  • @adaliszk
    @adaliszk 6 месяцев назад +1

    Meh, RSC is one thing, but to actually be resumable instead of hydration is even better future tech.

  • @scottl4422
    @scottl4422 6 месяцев назад +7

    This looks like it's a React-ified HTMX.

    • @cuca_dev
      @cuca_dev 6 месяцев назад +1

      Aggy dagger on the front end bubble. Unexpected!

    • @scottl4422
      @scottl4422 6 месяцев назад +1

      @@cuca_dev We've talked about frontend before in aggy daggy.

    • @spl420
      @spl420 6 месяцев назад

      because RSC are Reactified HTMX. It is the same idea of sending markup of part of app(A.K.A. Component).

    • @benbowers3613
      @benbowers3613 6 месяцев назад +1

      Returning markup from the server is not an HTMX thing. That was already the standard pattern and one that any react app that uses SSR is also benefiting from.

  • @felinedis
    @felinedis 6 месяцев назад +1

    Theo clickbaits and is wrong.. whats new?

  • @Mustardoable
    @Mustardoable 6 месяцев назад

    Embrace Extend Extinguish

    • @RyanFlorence
      @RyanFlorence 6 месяцев назад +1

      Actually it has been: Embrace ... let the team do whatever they want

    • @Mustardoable
      @Mustardoable 6 месяцев назад

      ​ @RyanFlorence Yes, you are moving on to step 2 of EEE; Extend, The tweet from Jacob Paris shown at 3:29 describes how EEE works. For what it's worth I won't mourn the extinguishment of RR (React Router) the major version upgrades have been horrible, upgrading a large project to V6 recently required writing some absolutely horrific HOC (Higher Order Components) to aid in backwards compatibility in order to get the migration across the line, stepping stones that other good tools would have provided... And all for what? A functionally identical outcome, just different. Almost all of the software I've written has a lifetime measured in decades so keeping up with this churn is incredibly frustrating. I look forward to seeing what extensions are made for users that will be de facto Remix users when it awakens from a "Nap", we will likely be one such user as a migration away now is prohibitive.
      I do sincerely thank you for your contributions to open source
      Regards a future Remix user

  • @balaclava351
    @balaclava351 6 месяцев назад +1

    idk why anyone would use React native when you could just use Capacitor. One code base to rule them all.

  • @stevenhorton8604
    @stevenhorton8604 6 месяцев назад

    "React almost never had breaking changes." LMFAO. You's crazy.

    • @t3dotgg
      @t3dotgg  6 месяцев назад

      Name 3.

    • @stevenhorton8604
      @stevenhorton8604 6 месяцев назад +1

      @@t3dotgg I'm glad I've been using Git for two decades. 0.4.1 caused my app to render to a white screen with no error message due to changes in the way state was handled.
      The next time I updated was 0.9.0. They changed the way state was handled again which broke components, as well as components built for production to be squished together different than locally developed versions.
      0.14 wouldn't update child components when the parent changed unless you chained state on all of the children that needed it. That means doing wacky crap passing functions as properties to children so they could call it as a callback to pass a function to the parent in order for the parent to call that function to let the child component update it's state.
      The next upgrade was 15.0.1 which caused the previously mentioned fix to completely lock up the app and components. This meant keeping most state in a near-top-level component and passing functions down the ladder to allow children to affect state, or, as most people suggested, cloning the element entirely and adding properties to it, but now you have to give all children access to it so it can clone all children to give them access to changing the state if it needed it. Now you have this all-father component and you're using a method from that component to wrap around all child components,.I'm sure that won't be problematic.
      16.8 was apocalyptic. Asynchronous functions like the one from the last fix are now broken because the parent component is not guaranteed to be mounted. They also took down most of their documentation surrounding class components, without having real existing documentation about function components and useState was a large mental shift.
      It also (oh so quietly) broke state. Where you could previously pass instances of Non-React code as props and store things like websocket connections , you would now have to throw them into the global scope, or as most suggested, initialize them them when you created the react app and along with any elements they needed using document.createElement, attaching them to the dom, and then detaching them later so that they could be referenced later.
      Then I get to clone the child elements, along with all properties, reroute events and attributes in order to stop React from doing funny business on the elements themselves.
      document.querySelectorAll("#id").appendChild() or whatever.
      useRef exists at this moment, but from my memory almost nobody seems to know about it (at that time).
      And you know by now how that went. Soon react , and but soon after useRef was better understood.

    • @stevenhorton8604
      @stevenhorton8604 6 месяцев назад +1

      ​@@t3dotgg I wrote a long response and hit comment but I'm guessing it vanished. Migrating 0.4 to 0.9, migrating from 0.9 to 15 all handled state differently and broke things. 15 caused dev versions and production versions to look very different. 16.8 broke handling non-react objects very badly and required really annoying hacks in order to stop react from mangling the elements (passing to the react app when it's initialized and passing through the prompts along with attaching them post-render, and redirecting HID events through callbacks and sending events through those callbacks to outside elements, then sometimes needing to rip those elements out before you can update state safely.
      The combo of useEffect and useRef was superior nowhere I could find explained it. Along with the release of 16.8 they ripped out all of the documentation they had and it kind of forced most of us to upgrade, which was rough because the documentation was screwed up. Broken links everywhere.
      The only way I can imagine you didn't experience this crap is if you started using React in 2018 or so and only on a React-only code-base.
      I don't think that is the case though. You just is crazy.
      Edit: Still less breaking changes than Angular. Angular 1 was nice to use, Angular 2 broke everything, and Angular 4... I gave up.
      I'm full a full stack developer working with small companies, I don't have time for Angular shenanigans.

  • @corntaco
    @corntaco 6 месяцев назад

    "As dead as Laravel??" The disrespect. 😂

  • @4ndrs_dev
    @4ndrs_dev 6 месяцев назад

    this is really cool

  • @ark_knight
    @ark_knight 6 месяцев назад

    People, report the bots.

  • @EvestDev
    @EvestDev 6 месяцев назад

    0:40 O.O

  • @killswitch.
    @killswitch. 6 месяцев назад

    0:38
    *_Theo unbuttoning his shirt_*
    Me: woah woah woah woah🤣

  • @Kats0unam1
    @Kats0unam1 6 месяцев назад +2

    You are wrong about a lot of things tbh LOL

  • @tvujtatata
    @tvujtatata 6 месяцев назад

    Bloated package with bad DX. It was good but we have better alternatives now.

  • @pinatacolada7986
    @pinatacolada7986 6 месяцев назад

    Not needing to specify types is a huge advantage when coding. This type safety nonsense is a fad.

  • @incarnateTheGreat
    @incarnateTheGreat 6 месяцев назад

    9:47 "If you were around when Hooks happened...."
    👴

  • @owenwexler7214
    @owenwexler7214 6 месяцев назад

    RIP anyone who has production apps on Remix 😅

  • @pauls6277
    @pauls6277 6 месяцев назад

    Bruh why is Laravel dead haha

  • @zenzoyaudr
    @zenzoyaudr 6 месяцев назад +1

    Early? Damn

  • @erikslorenz
    @erikslorenz 6 месяцев назад

    React router may be my least favorite thing in the entire front end ecosystem

    • @brunovandamme1389
      @brunovandamme1389 6 месяцев назад

      If you are looking for an alternative router for react, try react-sprout

  • @Oxygen.O2
    @Oxygen.O2 6 месяцев назад +4

    First. (Quality comment)

    • @sierragutenberg
      @sierragutenberg 6 месяцев назад +2

      I don't get what's the quality in commenting "First."...

  • @rasibn
    @rasibn 6 месяцев назад +1

    Almost first

  • @onuralkan190
    @onuralkan190 6 месяцев назад

    I hate react router and it's manual. And also just a router and not a big deal. Video smelling like a PR... Theo you are not like that... please...

  • @myspace9358
    @myspace9358 6 месяцев назад

    earlyyyyy

  • @AdolfRizzler41
    @AdolfRizzler41 6 месяцев назад +4

    You're also fear mongering and snatching views from newbies not expecting from you

  • @EvestDev
    @EvestDev 6 месяцев назад

    0:40 O.O