函数少了立即执行
Han3Jim opened this issue · comments
https://cn.redux.js.org/docs/recipes/ComputingDerivedData.html#
底部最后一个函数
const VisibleTodoList = connect(
makeMapStateToProps,
mapDispatchToProps
)(TodoList)
应该为
const VisibleTodoList = connect(
makeMapStateToProps(),
mapDispatchToProps
)(TodoList)
Fixed