By now, we’ve built slices, dispatched actions, and even fetched data from APIs using createAsyncThunk. But as your app grows, debugging becomes more and more important.
This is where Redux DevTools comes in — a powerful debugging tool that lets you see inside your Redux store in real time.
In this lesson, we’ll learn how to:
Redux DevTools is a browser extension that helps you:
Chrome: https://chrome.google.com/webstore/detail/redux-devtools Firefox: https://addons.mozilla.org/en-US/firefox/addon/reduxdevtools/
Once installed, open your browser dev tools → you’ll see a Redux tab.
Time-travel debugging allows you to go back to previous states to understand how they changed.
For example:
Click + three times on the counter app
You’ll see actions:
Click on each action in the DevTools panel
The UI will update to show what the app looked like at that moment
This is extremely helpful for:
Every time you dispatch an action, Redux DevTools logs:
| Item | What it tells you |
|---|---|
| Action | What happened (e.g., fetchPokemon/pending) |
| State | The full Redux state before & after the action |
| Diff | What changed in the state |
For example, when fetching Pokémon:
fetchPokemon/pendingfetchPokemon/fulfilled
You can inspect how status, items, and error changed at each step.
If the fetch fails, DevTools will show:
fetchPokemon/rejected
Click it → check error state → now you know what went wrong
(e.g., wrong URL, CORS issue, API offline)
If your component keeps re-rendering repeatedly:
dispatch() inside render instead of useEffect.❌ BAD:
dispatch(fetchPokemon());
✅ GOOD:
useEffect(() => {dispatch(fetchPokemon());}, [dispatch]);
DevTools can show you hundreds of repeated actions → this is a red flag.
If the UI doesn’t reflect assigned updates:
Redux DevTools helps you:
| Feature | Benefit |
|---|---|
| Time-Travel Debugging | Understand how the state evolved step-by-step |
| Action Inspection | See exactly what triggered state changes |
| State Diff | Quickly spot what changed and why |
| Debug Loops / API Issues | Fix problems faster |
Learning how to debug is just as important as learning how to code. Debug faster → Learn faster → Build better.
In the next video, we’ll learn about:
This will make your Redux app faster and smoother, especially as it grows.
If you’d like, I can now create:
✅ A YouTube narration script ✅ Visual slide images you can show in the video ✅ Thumbnail text ideas
Just tell me: Should your video tone be:
Reply with 1, 2, or 3.