How Remix solved React’s client state management problem

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

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

  • @Thassalocracy
    @Thassalocracy 7 месяцев назад +29

    I feel like somehow remix has implemented its own version of server components that is slightly more lean compared to nextjs.

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

    Excellent video. The clear title, helpful diagrams and explanation makes the subject very clear. Wish more tech videos were like this.

  • @Kisovn
    @Kisovn 2 месяца назад +2

    The greatest intro to Remix in the history of mankind, you are so good at explaining concepts!

  • @opswithtaen
    @opswithtaen 7 месяцев назад +5

    Excellent video. Keep up your good work for the community. All the best.

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

    This was a fantasic video!!! Sad to see that you aren't creating much content as this quality was top notch. Gonna subscribe just in case.

  • @taquanminhlong
    @taquanminhlong 7 месяцев назад +11

    That's why i love Remix, never have to use any React Context anymore

  • @al3030
    @al3030 5 дней назад +1

    This what nextjs used to have getserverside props. It took me a while to understand and then they changed the data loading and mixed server and client!

  • @EmiliaKaida
    @EmiliaKaida Месяц назад +3

    Could you please do a comparison of Remix with Nextjs?
    Like, in this video, I can see improvement made by Remix compared to traditional React + API but I wonder what's the difference with Next.js (it's a popular framework so it should somehow do pretty well in the state management department, no?)
    Thanks 😁

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

    Thank you for talking about this topic ❤

  • @Adityacode
    @Adityacode 2 месяца назад +1

    Remix is just underrated ❤

  • @luizgrocco
    @luizgrocco 5 дней назад

    What about mutations in this page's component that actually affect different pages and not the one we're currently at? Will those be invalidated also? Is there a mechanism to do this?

  • @jackie.be3
    @jackie.be3 7 месяцев назад +1

    We need more videos like these!!!

  • @samoniumuziejus
    @samoniumuziejus 10 дней назад

    It works exactly like react query... so it makes additional calls to rehydrate after that form post happened ? What if I had 5 more such rehydrations in different places around the app ?

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

    Since I already have the data updated in the local state, what is the advantage of giving a GET again after a POST? Wouldn't it be a waste of resources to hit the API unnecessarily? I'm having this problem with Remix, I've been using the shouldRevalidate function to manage this, but I don't know if it's the best solution. I still miss a local state using Remix.

  • @rollotomasi1832
    @rollotomasi1832 25 дней назад

    Useful video, thanks!✨

  • @JR-hb6jr
    @JR-hb6jr 5 месяцев назад

    Thanks, Great explanation.

  • @tmanager5574
    @tmanager5574 7 месяцев назад +2

    How it's different from. RSC's and server actions. I want to create mental picture.

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

      It’s more like old school PHP with a controller / view with file based routing

  • @MartynasCepauskas
    @MartynasCepauskas 13 дней назад +1

    why is it better than using react lazy components ?

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

    so if I have paginated data does remix will revalidate all the pages ?

  • @sakshamgairola7514
    @sakshamgairola7514 5 месяцев назад +2

    Wake up babe another framework dropped claiming to fix yet something in React.
    On a side note interesting will try this with my new POC

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

    Nice explanation

  • @gogdarag
    @gogdarag 7 месяцев назад

    Hi great video. Can you provide the colorful remix logo to download. Thanks.

  • @haseebarshad7451
    @haseebarshad7451 2 месяца назад

    Do remix vs next js next

  • @timmy-ru9ow
    @timmy-ru9ow 5 месяцев назад +1

    Library number 109,877 that fixes react state 🤘

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

    Remix is amazing

  • @milandjuric9170
    @milandjuric9170 17 дней назад

    I love you

  • @not_a_human_being
    @not_a_human_being День назад

    It's NOT React VS Remix. It's Remix VS Next.js. You're missing the point completely!

  • @aryankalra5640
    @aryankalra5640 5 дней назад

    Remix is way slower than react, I've worked in both framework and trust me I was tasked to migrate all the code from remix to nextjs ended up in faster initial load time with better response time

  • @j.r.r.tolkien8724
    @j.r.r.tolkien8724 7 месяцев назад +14

    React sucks. Can't be fixed. Just use a better tool. It's like building a broken layer of abstraction and building another layer to fix that and another layer... Sometimes you need to say I've had enough of this, let's start over with something new without the inherent and needless complexity. It's only smart to do so.

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

      Well like, you're not wrong I guess

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

      What do you suggest ?

    • @j.r.r.tolkien8724
      @j.r.r.tolkien8724 6 месяцев назад +2

      Dude. You might have read my comment in which I said React sucks. Is there a shortage of js frameworks that you're asking for a suggestion?

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

      @@j.r.r.tolkien8724 you said "just use a better tool", I understood that you prefer another framework other than react, if that's the case what do you suggest ?

    • @j.r.r.tolkien8724
      @j.r.r.tolkien8724 6 месяцев назад

      I told you what I suggest. Another suggestion? Read any book on formal logic or discrete mathematics such as the one by Susanna Epp.