DEV Community

Farzana Pomy
Farzana Pomy

Posted on

Redux Toolkit

Recently I learned the Redux toolkit. Today I share with you guys what I learn in the redux toolkit.

At first if i explained what is redux toolkit, i want to explain this from their documentation:
Redux is a predictable state container for JavaScript apps.Which is help us write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. On top of that, it provides a great developer experience, such as live code editing combined with a time traveling debugger.

*The purpose of Redux Toolkit *
The Redux Toolkit package is intended to be the standard way to write Redux logic. It was originally created to help address three common concerns about Redux:

  • "Configuring a Redux store is too complicated"
  • "I have to add a lot of packages to get Redux to do anything useful"
  • "Redux requires too much boilerplate code"

What redux actually does our website

  1. It's Make our website more Simple: includes utilities to simplify common use cases like store setup, creating reducers, immutable update logic, and more.

  2. It can Makes our application Opinionated & Powerful:
    Provides good defaults for store setup out of the box, and includes the most commonly used Redux addons built-in.

  3. It more Effective so you can do more work with less code.

Top comments (0)