Async Thunks in React Redux Toolkit with TypeScript

Поділитися
Вставка
  • Опубліковано 13 жов 2024
  • In this video, we'll be talking about Async Thunks in React Redux Toolkit. Async Thunks are a great way to handle asynchronous actions in your React codebase.
    If you're looking to learn more about Async Thunks or want to use them in your React codebase, then this video is for you! We'll be going over the basics of Async Thunks and how to use them in your React codebase. So be sure to watch and learn everything you need to know about Async Thunks in React Redux Toolkit!
    Subscribe to my channel / @sakuradev
    GitHub repo: github.com/vah...

КОМЕНТАРІ • 27

  • @tfist
    @tfist Рік тому +7

    when searching for solutions i keep ending up on your tutorials and the explanation is always spot on. your stuff deserves more views.

  • @victorfranco2495
    @victorfranco2495 11 місяців тому

    I'm trying to resolve a bug in a project of my team, and this videos helps me a lot. Thank you!!

    • @SakuraDev
      @SakuraDev  11 місяців тому

      Happy to be helpful 😊

  • @hillelgarcia5140
    @hillelgarcia5140 Рік тому +1

    Amazing video, simple and straight to the point. You earned a new subscriber now!

  • @codex8797
    @codex8797 8 місяців тому

    Thanks bro, after so many videos, you finally made me understand

    • @SakuraDev
      @SakuraDev  8 місяців тому +1

      Glad it helped

  • @kaustubhkulkarni5891
    @kaustubhkulkarni5891 7 місяців тому

    Perfect, that's what I was looking for

  • @noambar5958
    @noambar5958 2 місяці тому

    Great job!!
    thank a lot, really helped me!!

    • @SakuraDev
      @SakuraDev  2 місяці тому

      Thanks a lot. Actually this was one of my first videos on UA-cam. I am really glad it is still helpful

  • @muhammadyakubu3442
    @muhammadyakubu3442 11 місяців тому

    Hey, keep up the good work. This is an excellent video

  • @HadaroAdams
    @HadaroAdams 10 місяців тому +1

    If i have my asyncThunk in a different file from the actual slice how do i explicitly annotate the type of the ThunkApi parameter

  • @opeyimikaaremu5107
    @opeyimikaaremu5107 Рік тому +2

    well-done, man
    this is great work

  • @xeco5673
    @xeco5673 8 місяців тому

    Nice guide! thank you so much

    • @SakuraDev
      @SakuraDev  7 місяців тому

      Thanks a lot 😊

  • @0XLR8
    @0XLR8 Рік тому +3

    this tutorial lacks explanations. The add reducer is basically useless and can be deleted right? What if the requests fail. How can we handle the request errors? Also no typescript explanations.

  • @aleksandarmihaylov6884
    @aleksandarmihaylov6884 7 місяців тому

    good job by you

  • @toystory3167
    @toystory3167 5 місяців тому

    Give code to update person, like updating name from frontend and saving in backend

  • @thunder5323
    @thunder5323 Рік тому +4

    Where have you explained typescript in code you written? what is thunkAPI that you have not used but taken as argument.

  • @tutorfrontdev6007
    @tutorfrontdev6007 Рік тому

    nice explanation

  • @PrakashChAwal
    @PrakashChAwal Рік тому +1

    i am confused. how is api call a synchronous operation ?

    • @SakuraDev
      @SakuraDev  Рік тому +1

      Hi. Actually It is Async but the Asynk thuks kinda make it looks like a sync but it is Async.

  • @lucianosilva3595
    @lucianosilva3595 Рік тому

    thx bro

  • @alirezanejad752
    @alirezanejad752 Рік тому

    nice

  • @Lotpite
    @Lotpite Рік тому +1

    it's ok, but I think try catch should be there