finds.dev← search

// the find

john-smilga/redux-toolkit-tutorial

★ 442 · JavaScript · updated Apr 2024

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.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →