An overview of the Redux Toolkit

Tram Ho

1. What is Redux Toolkit (RTK) and why is it available?

  • RTK is a library that helps me write Redux better, easier and simpler. (standard to write Redux)
  • Three problems underpinning the RTK birth:

2. What is included in the RTK?

configureStore ()

  • Redux DevTools is available
  • There is redux-thunk available to perform async actions

createReducer ()

createAction ()

Please read the following functions as well 😉

3. Setup a simple example using RTK

Share the news now

Source : Viblo