finds.dev

john-smilga/redux-toolkit-tutorial

View on GitHub

★ 442JavaScriptupdated Apr 2024

// the take

A tutorial repo for learning Redux Toolkit, built around a shopping cart example. It's a companion to a video course by John Smilga, structured as starter/final pairs so you can follow along. Aimed squarely at beginners picking up RTK for the first time.

The starter/final structure is genuinely useful — you can check your work without digging through git history. Vite support was added alongside the original CRA setup, so it isn't stuck on a dead toolchain. The cart + modal slice combination covers the two most common RTK patterns (sync state + async thunks via createAsyncThunk) in a small, contained scope.

Last pushed April 2024 and built on CRA, which is officially abandoned — the Vite folders help but the primary tutorial path is still the dead one. The example is too simple to show anything about RTK Query, which is now the main reason to reach for RTK over plain Redux. No tests anywhere, so learners walk away without knowing how to test slices or selectors. With 354 forks and only 442 stars, this is clearly a class assignment repo, not a community reference — the content decisions reflect a course outline, not what someone actually needs to know.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
442
Forks
354
Language
JavaScript
Last commit
7 Apr 2024

// nearby

If redux-toolkit-tutorial isn't quite it.

All repos →