combineReducers 对于业务复杂的应用,我们通常使用combineReducers拆分不同的reducer给不同的模块去消费 如果不同的模块需要做状态共享,可以使用相同的reducer 使用 import { createStore, combineReducers } from 'redux' import header from './reducer/header' import p
专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]
Copyright (C)ICode9.com, All Rights Reserved.
ICode9版权所有