Redux Toolkit

 20th August 2020 at 2:19pm

Redux Toolkit 是 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"

它的 文档 太优秀,以至于这里没有再描述的必要。