欢迎来到码农权的博客 MaNongGeGe.|

随笔分类 -  Redux

Redux底层源码
摘要:Redux底层源码 底层就是发布与订阅模式 const creareStore = (reducer)=> { let list = []; let state = reducer() const subscribe = (callback)=> { list.push(callback) } co
19
0
0
Redux-详解-解开谜底
摘要:Redux-详解-解开谜底 类似于vuex是一个全局状态树(跨组件通信),让组件通信的时候会变得极其方便。 作用:集中式管理 react 应用中多个组件共享的状态 Redux的设计理念 组件可以派发( dispatch)行为( action)去修改state,然后为这些actions编写reduce
44
0
0
点击右上角即可分享
微信分享提示
深色
回顶
收起
  1. 1 不将就 码农权
  2. 2 Bleeding Love 码农权
  3. 3 想你念你 码农权
Bleeding Love - 码农权
00:00 / 00:00
An audio error has occurred, player will skip forward in 2 seconds.

Not available