Jotai Async

Sdílet
Vložit
  • čas přidán 4. 09. 2024
  • A look into the Jotai state management library, and it's usage in handling asynchronous work

Komentáře • 6

  • @CoryDambach
    @CoryDambach Před měsícem

    Nice video! Very easy to follow

  • @rig-xf6or
    @rig-xf6or Před 6 měsíci +1

    I like this guy

  • @WillDesigns
    @WillDesigns Před rokem +1

    Good content. Need some editing but well done👏. Why should I use jotai instead of React Query for example?

  • @salman0ansari
    @salman0ansari Před rokem +1

    Good video, quality could have been better

  • @olabisiolaoye6168
    @olabisiolaoye6168 Před 8 měsíci

    Great video! I'm having an issue with atomWithStorage, though. I saved some data to local storage with this, and I tried using this in a protected route component with the condition that if that data is available in local storage, the user can access that route, otherwise they are redirected to the root route. The problem is that when I use useAtom to retrieve that data in the protected route component, it doesn't get it fast enough and the user is redirected to the root route anyway, even though that data is actually present in local storage. This only happens if I try to type the route directly in my browser, though. If I access the route through a link, it works fine. Any ideas on what might be wrong?

  • @laurentlahmy277
    @laurentlahmy277 Před 6 měsíci

    keyboard drums not good la