📅  最后修改于: 2022-03-11 15:02:32.850000             🧑  作者: Mango
function mapStateToProps(state) { return { a: 42, todos: state.todos, filter: state.visibilityFilter, }}
// component will receive: props.a, props.todos, and props.filter