Jotai React - Better Global State Management

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

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

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

    WATCH NEXT: React Interview Questions and Answers - Dominate Your Next Interview - ruclips.net/video/yQHr4opz_N0/видео.htmlsi=51b2XP_84GH3q6oF

  • @MaxProgramming
    @MaxProgramming Год назад +8

    Jotai is so good I am now fully convinced it's the best!

  • @Takatou__Yogiri
    @Takatou__Yogiri 8 месяцев назад +1

    it's so simple that it took me 120 second to learn. thank you.

  • @lakshmanshankar
    @lakshmanshankar 11 месяцев назад +2

    Really learn some valuable things about context and a useful statemanagers thank you for making such content

  •  2 года назад +7

    Thanks for the video, the library looks easy to be used.

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

    What a great video, topic and couple of libraries. Thank you.

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

    This was useful for a new project shift, Cheers Mate!

  • @simonss13
    @simonss13 8 месяцев назад

    Brilliant! Starting a new project and I think this is the combination I'll go with.

  • @thelonesalt1473
    @thelonesalt1473 Год назад +3

    Quality video man, gained a new subscriber : )

  • @alizakeri-wn7in
    @alizakeri-wn7in 6 месяцев назад

    Simple and precise , lovely

  • @akbar-sm
    @akbar-sm Год назад +1

    i'm more interested in your IDE/text editor, so convenient for the intellisense and formatting. what IDE / text editor are you using? if you dont mind sharing with us

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  Год назад +1

      ruclips.net/video/j6uqOvTRq6I/видео.html
      ruclips.net/video/YrLiugDhCuk/видео.html
      ruclips.net/video/Xa4aOOB7XZo/видео.html

    • @iaamnew2060
      @iaamnew2060 Год назад

      would you say its worth it even for a professional programmer to use VIM? I've been programming for a long time now and I've seen people recommend vim but does it make me faster, compared to using VScode@@MonsterlessonsAcademy

  • @KazLA
    @KazLA 12 дней назад

    Interesting - does it work with Preact?

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

    React Context re-renders components that consume the context, but not all components. Please don't confuse things.

  • @neiker234
    @neiker234 Год назад

    0:50 that's not true, only components listening for changes will be re-rendered

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  Год назад

      And all children inside them

    • @neiker234
      @neiker234 Год назад

      Do you mean all children inside the provider or inside the consumer(s)?

  • @SolidWorksMastery-hr4sg
    @SolidWorksMastery-hr4sg Год назад

    when to use redux toolkit and when to use jotai

  • @sunny7268
    @sunny7268 2 года назад +2

    Why it is better than Zustand?

    • @mzhomie8880
      @mzhomie8880 2 года назад +1

      I would like to know that, too.

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  2 года назад +1

      I never said that it's "better". Zustand is an alternative to Redux. Jotai is just a global client states which play super nicely with react-query to write minimum code.

    • @mzhomie8880
      @mzhomie8880 2 года назад

      @@MonsterlessonsAcademy I can not understand. All libraries have the purpose of managing and accessing state across components. But thank you for your reply. When you start developing a large web app, e.g. Gimp for the browser, you don't just switch state libraries. That's why I'm careful with statements like "best" :D

    • @sunny7268
      @sunny7268 2 года назад

      @@MonsterlessonsAcademy oh, sorry didn't meant to offend you, really like you vids.
      And Wow, you right I don't need the all huge package like Redux, and as far I get, Zustand maybe much neat, but still it is have it own ecosystem, and Jotai is actually what we wanted from the beginning of React lib. thank you very much, I will keep spreading you vids to my contacts.

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  2 года назад +1

      @@mzhomie8880 Okay now I agree. "Better useState alternative" title would be better. Sure you should not just swap working state management in your huge app with some other lib if it works.

  • @madehayoussof
    @madehayoussof Год назад

    Thanks, it's very useful for me

  • @anirudha4346
    @anirudha4346 Год назад +1

    I feel jotai is more readable than recoil

  • @87911
    @87911 4 месяца назад +1

    Is this guy a terminator?

  • @028-manikandan3
    @028-manikandan3 2 года назад

    Put more videos in angular

  • @Disorrder
    @Disorrder Год назад +1

    Making all these providers, consumers, reducers are very verbose and annoying, that's why I prefer to use MobX. But Jotai looks as great alternative!

  • @andTutin
    @andTutin 2 года назад +1

    another library

    • @sunny7268
      @sunny7268 2 года назад +1

      It is based on recoil, so I think it is deserve a little bit of respect than any simple lib there.

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  2 года назад +4

      Also I don't make videos about "another library" but only the most popular libs or libs which solves problems nicely with good decisions.