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.
@daviddixx67372 ай бұрын
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 🙌🏾
@lfellidev2 ай бұрын
Great and simple library I'll try in some projects, another similar library is "Zustand " and in my opinion is simpler than Jotai.
@PedroTechnologies2 ай бұрын
I like zustand too! I actually like it more, but some people might find the atom structure of jotai better
@tusharsnx2 ай бұрын
@@PedroTechnologiesIt forces the flux pattern. Jotai just gives you a setter function instead of having to make "actions".
@life_in_gen2 ай бұрын
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!
@ROVAKAN2 ай бұрын
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
@PedroTechnologies2 ай бұрын
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
@cantcode10012 ай бұрын
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!!!!
@PedroTechnologies2 ай бұрын
@@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.
@alvingultiano75132 ай бұрын
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
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
@prashlovessamosa7 күн бұрын
Practice makes perfect
@ДмитрийРовер2 ай бұрын
how about effects in jotai? I don't understand how to use them at all
@swopnilmaharjan86302 ай бұрын
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..
@alvingultiano75132 ай бұрын
zustand or jotai ? It`s good for large scale project ?? need answer here ??
@PedroTechnologies2 ай бұрын
Either, but i personally prefer Zustand.
@alvingultiano75132 ай бұрын
@@PedroTechnologies just like a thought base on performance right :D .. thanks bro :D
@alvingultiano75132 ай бұрын
@@PedroTechnologies but sad to say, big companies in Philippines doesn't adapt this kind of approach they prefer the hard thing :D .