B
B
Blog
搜索文档…
⌃K

Redux

特性

  • Single source of truth
  • 可预测性:state + action = newState
  • 纯函数更新 store

Store

  • getState()
  • dispatch(action)
  • subscribe(listener)