React Redux Toolkit Setup and CreateAsyncThunk on API

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 32

  • @WilliamPattison
    @WilliamPattison Год назад +2

    By far and away the best demonstration I've seen on redux toolkit

  • @sunilsk9649
    @sunilsk9649 Год назад +3

    Trust me bro, this is the best tutorial for createAsyncThunk in the Udemy as well as youtube. Thanks a lot. Simple and clear.
    I have added the updated extrareducer since the one you used is deprecated.
    Modify the **** ones based on your variables.
    extraReducers: (builder) => {
    builder.addCase(***********.pending, (state, action) => {
    state.isLoading = true;
    });
    builder.addCase(***********.fulfilled, (state, action) => {
    state.data = action.payload;
    });
    builder.addCase(***********.rejected, (state, action) => {
    console.log(action);
    });
    },

  • @MUSE859
    @MUSE859 11 месяцев назад +1

    thanks, it's so simple!!!

  • @RedSamurai-r1x
    @RedSamurai-r1x Год назад

    YOU'RE REALLY AWESOME MAN! YOU SAVED ME!

  • @lilliankunu3658
    @lilliankunu3658 2 года назад +2

    You saved me!!
    I have an upcoming interview where I have to fetch data from an API with Redux and its tools and I've combed everywhere for a good tutorial because I've never used Redux before, but couldn't find any until I found this one; it's very easy to follow and setup. Thank you so much!!!
    You are a great teacher! Please keep up the good work... 👍
    Do you by any chance have a "Buy me a coffee" page where someone can at least buy you a coffee?

    • @Samlama8848
      @Samlama8848  2 года назад +1

      Glad I could help. Thank you very much for watching my tutorials and yes, I have buy me a coffee page. www.buymeacoffee.com/samlama12. Best of luck for you interview.

  • @semsigungor7682
    @semsigungor7682 Год назад

    Thank you for the video. Your explanation was simple and decent. God bless you.

  • @phoney_the_Hypo
    @phoney_the_Hypo Месяц назад

    you made it simple, thanks

  • @Cachirepublica
    @Cachirepublica 2 года назад

    THANK YOU!!! You have saved my day!! This is exactly what I was needing!

  • @fkbey5756
    @fkbey5756 2 года назад +1

    Hello. thank you for your video. Finally i understand the asyncThunk.

  • @wzup23
    @wzup23 Год назад

    Dude, thank you for this!

  • @salehhassan6057
    @salehhassan6057 2 года назад

    Thanks a lot sir. You have a very great teaching skills. Keep going!

  • @adnantariq3346
    @adnantariq3346 Год назад

    Thank you Sam!

  • @anhtuannguyenngoc3679
    @anhtuannguyenngoc3679 2 года назад +1

    very helpful, thank you for this video , you have saved my day too :))))

  • @anichuranis2843
    @anichuranis2843 2 года назад

    thanks, i have found a bug solution through your video

  • @aejunior
    @aejunior Год назад +1

    Great work! Ty.

  • @jesuserwinsuarez65
    @jesuserwinsuarez65 2 года назад

    Worth watching, thanks man!

  • @AnandGiri
    @AnandGiri 2 года назад

    very good. do more of this plz

  • @zafarkhan-vs2ty
    @zafarkhan-vs2ty 2 года назад

    highly apreciatedd

  • @yousufaley
    @yousufaley 2 года назад +2

    Hello sir, this is an amazing tutorial, I really like the way you teaching really understandable, can you give little info on how to pass body when fetching data using the post method, i will be really thankful to you.

  • @ilikecoder
    @ilikecoder Год назад

    Perfect

  • @taufikfirmansyah5454
    @taufikfirmansyah5454 Год назад

    you are my savior LOL

  • @nawazishali274
    @nawazishali274 2 года назад

    can you make CRUD with readux-toolkit in the same approach as you are using

  • @zafarhussain8273
    @zafarhussain8273 2 года назад

    amazing ,
    but how can we call add , update , create API in same createslice

  • @mishenthakshana3407
    @mishenthakshana3407 2 года назад

    Thankyou so much

  • @arsalankhalidhdc4368
    @arsalankhalidhdc4368 2 года назад

    Please make the video on CURD APP using REDUXTOOLKIT AND JSON-SERVER .thank you

  • @joy_sam_raj
    @joy_sam_raj 2 года назад

    Thank you

  • @farismohamed6030
    @farismohamed6030 Год назад

    Why do you do on extraReducers, instead reducer:

  • @mdtarikhkhan5866
    @mdtarikhkhan5866 Год назад

    please edit add RETURN with rejectWithValue