Skip to content

Conversation

@guillaumecrespel
Copy link
Member

No description provided.

return state
}
}
/* Todos Reducer with her mapper */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove comment

const mapDispatchToProps = (dispatch) => ({
onKeyDown: e => e.which === 13 && dispatch(addNewTodo(e)) && dispatch(resetNewTodo(e)),
onChange: e => dispatch(onChange(e)),
onKeyDown: e => e.which === 13 && dispatch(todos.add(e.target.value)) && dispatch(newTodo.reset()),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move id here ?

@guillaumecrespel guillaumecrespel changed the title ✨ k-redux-factory LC3: k-redux-factory Mar 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants