Async Thunks in React Redux Toolkit with TypeScript

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 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.

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

  • @HadaroAdams
    @HadaroAdams 8 หลายเดือนก่อน +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

  • @thunder5323
    @thunder5323 ปีที่แล้ว +4

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

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

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

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

      Happy to be helpful 😊

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

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

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

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

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

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

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

      Glad it helped

  • @hillelgarcia5140
    @hillelgarcia5140 ปีที่แล้ว +1

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

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

    Perfect, that's what I was looking for

  • @opeyimikaaremu5107
    @opeyimikaaremu5107 ปีที่แล้ว +2

    well-done, man
    this is great work

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

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

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

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

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

    Nice guide! thank you so much

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

      Thanks a lot 😊

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

    good job by you

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

      Thanks 🙏

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

  • @tutorfrontdev6007
    @tutorfrontdev6007 ปีที่แล้ว

    nice explanation

  • @Lotpite
    @Lotpite ปีที่แล้ว +1

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

  • @lucianosilva3595
    @lucianosilva3595 ปีที่แล้ว

    thx bro

  • @alirezanejad752
    @alirezanejad752 ปีที่แล้ว

    nice