
#React redux tutorial how to#
The show includes a live-coded example app that shows how to use Redux Toolkit and React-Redux hooks with Typescript, as well as the new RTK Query data fetching APIs. Redux maintainer Mark Erikson appeared on the "Learn with Jason" show to explain how we recommend using Redux today. If you want to understand how Redux really works and why RTK is the recommended approach, read the Redux Fundamentals tutorial.

Since Redux Toolkit is an abstraction layer that wraps around the Redux core, it's helpful to know what RTK's APIs are actually doing for you under the hood. It then shows how Redux Toolkit simplifies those Redux usage patterns. The Redux Fundamentals tutorial teaches "how Redux works, from the bottom up", by showing how to write Redux code by hand and why standard usage patterns exist. Redux Fundamentals: Redux from the Ground Up If you've never used Redux before, and just want to know "how do I use this to build something useful?", start with the Redux Essentials tutorial. It shows how to build a "real world"-style example application, and teaches Redux concepts along the way. The Redux Essentials tutorial teaches you "how to use Redux the right way", using Redux Toolkit as the standard approach for writing Redux logic. We also have a TypeScript Quick Start tutorial that briefly shows how to set up and use TypeScript with Redux Toolkit and React-Redux.

If you just want the fastest way to get a basic example running, read the Quick Start tutorial. The Redux Toolkit Quick Start tutorial briefly shows how to add and use Redux Toolkit in a React application. See these linked tutorials to learn how to use Redux Toolkit effectively. To avoid duplicating explanations between the Redux core and Redux Toolkit documentation, we've focused on making the Redux core docs tutorials comprehensive, and point to them instead of having extended tutorials here in the Redux Toolkit docs.
