demo-4中不用给createdStore传入initState这个例子中,在combineReducer中应该有
if (prevStateForKey) {
nextState[key] = nextStateForKey;
} else {
nextState[key] = nextStateForKey[key];
}
不然会导致初始state树的时候生成一个{initState[第一个key]=initState整个对象,initState[第二个key]=initState整个对象}这样的state