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); }); },
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?
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.
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.
By far and away the best demonstration I've seen on redux toolkit
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);
});
},
thanks, it's so simple!!!
YOU'RE REALLY AWESOME MAN! YOU SAVED ME!
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?
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.
Thank you for the video. Your explanation was simple and decent. God bless you.
you made it simple, thanks
THANK YOU!!! You have saved my day!! This is exactly what I was needing!
Hello. thank you for your video. Finally i understand the asyncThunk.
Dude, thank you for this!
No problem!
Thanks a lot sir. You have a very great teaching skills. Keep going!
Thank you Sam!
very helpful, thank you for this video , you have saved my day too :))))
thanks, i have found a bug solution through your video
Great work! Ty.
Worth watching, thanks man!
very good. do more of this plz
highly apreciatedd
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.
Perfect
you are my savior LOL
can you make CRUD with readux-toolkit in the same approach as you are using
amazing ,
but how can we call add , update , create API in same createslice
Thankyou so much
Please make the video on CURD APP using REDUXTOOLKIT AND JSON-SERVER .thank you
Sure soon
Thank you
Why do you do on extraReducers, instead reducer:
To use asynchronous
please edit add RETURN with rejectWithValue