Jotai React State Management Tutorial - Jotai Crash Course For Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 พ.ย. 2024

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

  • @daviddixx6737
    @daviddixx6737 8 ชั่วโมงที่ผ่านมา

    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 🙌🏾

  • @ROVAKAN
    @ROVAKAN 3 วันที่ผ่านมา +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  3 วันที่ผ่านมา +3

      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 2 วันที่ผ่านมา +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  2 วันที่ผ่านมา

      @@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.

  • @sitaganesh5298
    @sitaganesh5298 3 วันที่ผ่านมา +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

  • @life_in_gen
    @life_in_gen 3 วันที่ผ่านมา

    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!

  • @lfellidev
    @lfellidev 3 วันที่ผ่านมา +1

    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  3 วันที่ผ่านมา

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

  • @alvingultiano7513
    @alvingultiano7513 2 วันที่ผ่านมา +1

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

    • @PedroTechnologies
      @PedroTechnologies  2 วันที่ผ่านมา

      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 .

  • @swopnilmaharjan8630
    @swopnilmaharjan8630 3 วันที่ผ่านมา

    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..