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. Therefore, there are few bugs in Redux, and it has a rich ecosystem with many add-ons for all occasions. But everything has its price, Redux itself is in no way connected with React, and if you want it to be easy to integrate, you need to learn another library - Redux Toolkit.

Redux Toolkit not only glues them together, but even changes the way you work with Redux beyond recognition. It introduces many useful abstractions and includes so-called batteries such as the commonly used middlewares. The overall idea of the library is to make working with data (storage, extraction, use) as convenient as possible by removing the template code that was characteristic of 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, then it turns out that there are functional components, then we recommend using hooks. Then, redux is attached to this side and at the end we replace it with toolkit, which, fortunately, is the final point in this journey.

React evolved like this, first one thing, then another, then another, and now we have toolkit. And you need to know all this, because toolkit has redux under the hood and we learn it, but hooks do not replace classes and classes will remain forever. 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

From a novice to a developer. Get a job or your money back!

Frontend Developer icon
Development of front-end components for web applications
start anytime 10 months

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.