React Redux Thunk Middleware in Redux Toolkit for Async Actions with Axios

React Redux Thunk Middleware in Redux Toolkit for Async Actions with Axios

Dave Gray via YouTube Direct link

Intro

1 of 18

1 of 18

Intro

Class Central Classrooms beta

YouTube playlists curated by Class Central.

Classroom Contents

React Redux Thunk Middleware in Redux Toolkit for Async Actions with Axios

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Welcome
  3. 3 Prerequisite knowledge
  4. 4 Faster Pace Ahead
  5. 5 What is a thunk?
  6. 6 Changing the initial state
  7. 7 Adjusting to the state shape
  8. 8 Creating a fetchPosts async thunk
  9. 9 Adding extraReducers and builder cases
  10. 10 Dispatching fetchPosts async thunk
  11. 11 Building a PostsExcerpt component
  12. 12 Displaying the loading state
  13. 13 Creating a fetchUsers async thunk
  14. 14 Dispatching fetchUsers at App load time
  15. 15 Creating an addNewPost async thunk
  16. 16 Dispatching the addNewPost async thunk
  17. 17 Quick Correction
  18. 18 Do not use try / catch blocks here as the video shows. You need the promise to be fulfilled or rejected which will have the appropriate response in the extraReducers.

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.