Skip to content

Instantly share code, notes, and snippets.

@titouancreach
Created January 21, 2018 17:42
Show Gist options
  • Save titouancreach/6540e50fd4050ecefb3494bc9491ae29 to your computer and use it in GitHub Desktop.
Save titouancreach/6540e50fd4050ecefb3494bc9491ae29 to your computer and use it in GitHub Desktop.
const addTodo = todoItem => {type: 'ADD_TODO', payload: {todoItem}};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment