Redux Toolkit Basics: Slices, useDispatch & useSelector Explained | React Tutorial (#02)

Опубликовано: 16 Май 2026
на канале: Rowadz
6,274
126

In this video, we go over the basics of Redux Toolkit, including how slices work, how to dispatch actions, and how to read data using selectors with useSelector.
It’s a beginner-friendly walkthrough of a typical Redux Toolkit structure in a React app.

☕ Like this tutorial? Support me here:
https://www.buymeacoffee.com/rowadz

📂 Code Repo:
https://github.com/Rowadz/react-redux...

📚 Docs Mentioned:

Redux Toolkit → https://redux-toolkit.js.org/

Immer.js → https://immerjs.github.io/immer/docs/...

Proxy API (JavaScript) → https://developer.mozilla.org/en-US/d...

⏱️ Timestamps:
00:00 - Introduction
00:54 - Reviewing store.js
02:42 - Exploring the features folder
04:27 - Understanding a slice
05:03 - Slice name & structure
05:14 - Initial state
05:30 - Reducers
07:59 - Actions
09:53 - Async actions
11:30 - Selectors
13:00 - Dispatching actions
15:45 - Wrap-up