Jotai React State Management Tutorial - Jotai Crash Course For Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2025

ความคิดเห็น • 21

  • @taofeeqomotolani2311
    @taofeeqomotolani2311 หลายเดือนก่อน +2

    Just when I thought Zustand would be my go-to, I found an even more intuitive approach with Jotai. Zusand is great, but I prefer this approach for its simplicity.

  • @daviddixx6737
    @daviddixx6737 หลายเดือนก่อน +1

    I really enjoyed this video and i also enjoy using Jotai mostly because of the miminal and easy syntax to useState.
    Would definitely enjoy a more advanced video, thank you 🙌🏾

  • @lfellidev
    @lfellidev หลายเดือนก่อน +3

    Great and simple library I'll try in some projects, another similar library is "Zustand " and in my opinion is simpler than Jotai.

    • @PedroTechnologies
      @PedroTechnologies  หลายเดือนก่อน

      I like zustand too! I actually like it more, but some people might find the atom structure of jotai better

    • @tusharsnx
      @tusharsnx หลายเดือนก่อน

      ​@@PedroTechnologiesIt forces the flux pattern. Jotai just gives you a setter function instead of having to make "actions".

  • @life_in_gen
    @life_in_gen หลายเดือนก่อน

    Hey thank you for this :) I havent seen a lot of your videos but I prefer your teaching method. But one thing I look for a tutorial is showing first a simple concept like what you did here. And then jumping straight to real-world example how you would use it in a production app from basic to complex. Anyways appreciate this TYSM!

  • @ROVAKAN
    @ROVAKAN หลายเดือนก่อน +3

    Passing the state itself as an argument to another state in order to render some calculated data is very sensetive. It may cause circular reference errors. I think i will relay on redux

    • @PedroTechnologies
      @PedroTechnologies  หลายเดือนก่อน +4

      You raise an interesting point about potential circular reference errors when passing state as an argument to another state, buttttttt Jotai actually has built-in safeguards to prevent circular dependencies

    • @cantcode1001
      @cantcode1001 หลายเดือนก่อน +1

      I’m new to state management, but couldn’t you just derive your values in the component you’re using those values in? Wouldn’t that also solve that issue? Why derive values inside the state itself? Btw love these videos. Keep it up!!!!

    • @PedroTechnologies
      @PedroTechnologies  หลายเดือนก่อน

      @@cantcode1001 You could do that but the derived atoms don't have the issues that a derived state would because of how its made. An atom made from another atom in jotai is not the same as a state made from another state using the react api.

  • @MahnazQaderi-y9k
    @MahnazQaderi-y9k หลายเดือนก่อน

    Hi, I have been doing programming actively for the past four months by doing my internship and i have found it quite challenging so far. I just do not get the concepts like jotai soo easy for instance this video i have watching it for couple of hours and practicing it as well but I have not been able to fully understand it or be confident about. I wonder if its just me or the concept is complex overall?
    Thanks

  • @sitaganesh5298
    @sitaganesh5298 หลายเดือนก่อน +2

    React js(vite) + django ecommerce website tutorial please 🥺

  • @alvingultiano7513
    @alvingultiano7513 หลายเดือนก่อน

    Brother, may I request that you create a tutorial on how we can efficiently utilize both React Query or Zustand or Jotai with Neon or another cloud-based database? I would like to see how others have done it so I can compare if my approach is similar to theirs

  • @ДмитрийРовер
    @ДмитрийРовер 27 วันที่ผ่านมา

    how about effects in jotai? I don't understand how to use them at all

  • @swopnilmaharjan8630
    @swopnilmaharjan8630 หลายเดือนก่อน

    hello! can you bring some crash course on bullmq to queue sending emails.. i am getting kinda stuck on the process.. any article on that would help..

  • @alvingultiano7513
    @alvingultiano7513 หลายเดือนก่อน +1

    zustand or jotai ? It`s good for large scale project ?? need answer here ??

    • @PedroTechnologies
      @PedroTechnologies  หลายเดือนก่อน

      Either, but i personally prefer Zustand.

    • @alvingultiano7513
      @alvingultiano7513 หลายเดือนก่อน

      @@PedroTechnologies just like a thought base on performance right :D .. thanks bro :D

    • @alvingultiano7513
      @alvingultiano7513 หลายเดือนก่อน

      @@PedroTechnologies but sad to say, big companies in Philippines doesn't adapt this kind of approach they prefer the hard thing :D .

  • @CyranicalGoated
    @CyranicalGoated หลายเดือนก่อน

    Vuejs+Inertia+Laravel crash course?