第一步:拆分
第二步:引用,注意这里是state打点调用对应reducer,否则会报错。
all.js:305 Uncaught Invariant Violation: Objects are not valid as a React child (found: object with keys {todoReducer, myAsynch}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons. Check the render method of `Mains`.