摘要: combineReducers 对于业务复杂的应用,我们通常使用combineReducers拆分不同的reducer给不同的模块去消费 如果不同的模块需要做状态共享,可以使用相同的reducer 使用 import { createStore, combineReducers } from 're 阅读全文
posted @ 2022-07-04 11:24 IslandZzzz 阅读(90) 评论(0) 推荐(0) 编辑