Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Redux Advanced Tutorial - React, Redux Toolkit, RTK Query Project

Dave Gray via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This tutorial transitions a React Redux blog project from Axios async thunks to RTK Query. It covers normalized cache state, query and mutation endpoints, generated hooks, cache invalidation, and optimistic updates.

Syllabus

Intro
Welcome
Prerequisite knowledge
Starter Source Code
JSON Server
Create an api slice
Update postSlice to an extended api slice
getPosts endpoint method
Update the postsSlice selectors
Reconfigure the store
Update index.js
PostsList component
PostAuthor component
getPostsByUserId endpoint method
addNewPost endpoint method
updatePost endpoint method
deletePost endpoint method
Export the auto-generated hooks
AddPostForm component
EditPostForm component
UserPage component
Header component
Optimistic Updates for Reactions
ReactionButtons component
View Redux state cache and network requests with dev tools

Taught by

Dave Gray

Reviews

Start your review of Redux Advanced Tutorial - React, Redux Toolkit, RTK Query Project

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.