×
Error: Objects are not valid as a React child (found: object with keys {count}). If you meant to render a collection of children, use an array instead.
React在做Reduces拆分合并后,导出的是一个counter对象,而组件渲染数据时,指向输出了对象``` {props.count}
导致报错,输出对象无法进行解析,应该输出对象中的数据
{props.count.count}
export default combineReducers({ counter:counterReducer, person:personReducer })