How to get started with Redux Toolkit

What is Redux Toolkit?

To sum it up. It’s an easier way to setup and get going with Redux.

We’ve all been there when it comes to trying to configure a Redux store and in turn, we’re left bewildered by the thought it. Or perhaps, it takes too much boilerplate code to get up and running. These are just some of the concerns that Redux Toolkit aims to solve.

The Redux Toolkit package is intended to be the standard way to write Redux logic.

We can’t solve every use case, but in the spirit of create-react-app and apollo-boost, we can try to provide some tools that abstract over the setup process and handle the most common use cases, as well as include some useful utilities that will let the user simplify their application code.

Because of that, this package is deliberately limited in scope. It does not address concepts like “reusable encapsulated Redux modules”, data caching, folder or file structures, managing entity relationships in the store, and so on. - Redux Toolkit docs

Note: Snippet from my blog post on DEV