摘要: Redux底层源码 底层就是发布与订阅模式 const creareStore = (reducer)=> { let list = []; let state = reducer() const subscribe = (callback)=> { list.push(callback) } co 阅读全文
posted @ 2022-12-08 01:40 HuangBingQuan 阅读(18) 评论(0) 推荐(0) 编辑