Register to get access to free programming courses with interactive exercises

Introduction React: Redux Toolkit

The developers of Redux decided to make it as compact and flexible as possible in terms of expansion. Redux has a rich ecosystem with many add-ons for all occasions. But everything has its price, Redux itself does not connect with React in any way, and if you want it to be easy to integrate, you need to learn another library called Redux Toolkit.

Redux Toolkit not only glues everything together but even changes our workflow beyond recognition. It introduces many useful abstractions and includes commonly used middleware such as batteries. The overall idea of the library is to make storage, extraction, and use of data as convenient as possible by removing the boilerplate code, a typical feature for applications on Redux.

Redux Toolkit introduces many new concepts that are hard to consider in isolation without seeing the whole picture. So first, we'll look at an example with everything in one place without diving in, and then, in the following lessons, we'll take apart each element piece by piece.

Classes, Functions, Hooks, Redux, Toolkit

All this begs the question, why? First, we study React in classes. Later we find out that there are functional components, so we encourage to use hooks. Then, Redux is attached to this side. Finally, we replace it with a set of tools, and it is the final point in this journey. React evolved like this, first one thing, then another, then another, and now we have the Redux Toolkit.

You should know all steps because the toolkit has Redux under the hood, and we learn it. But classes will remain forever because hooks do not replace them. In the end, what we have is what we have.


This course is about Redux Toolkit. How Redux works is explained in another course.

Hexlet Experts

Are there any more questions? Ask them in the Discussion section.

The Hexlet support team or other students will answer you.

About Hexlet learning process

For full access to the course you need a professional subscription.

A professional subscription will give you full access to all Hexlet courses, projects and lifetime access to the theory of lessons learned. You can cancel your subscription at any time.

Get access
hours of theory

Sign up

Programming courses for beginners and experienced developers. Start training for free

  • 130 courses, 2000+ hours of theory
  • 1000 practical tasks in a browser
  • 360 000 students
By sending this form, you agree to our Personal Policy and Service Conditions

Our graduates work in companies:

<span class="translation_missing" title="translation missing:">Bookmate</span>
<span class="translation_missing" title="translation missing:">Healthsamurai</span>
<span class="translation_missing" title="translation missing:">Dualboot</span>
<span class="translation_missing" title="translation missing:">Abbyy</span>
Suggested learning programs
Development of front-end components for web applications
10 months
from scratch
Start at any time

Use Hexlet to the fullest extent!

  • Ask questions about the lesson
  • Test your knowledge in quizzes
  • Practice in your browser
  • Track your progress

Sign up or sign in

By sending this form, you agree to our Personal Policy and Service Conditions
Toto Image

Ask questions if you want to discuss a theory or an exercise. Hexlet Support Team and experienced community members can help find answers and solve a problem.