Skip to content

Instantly share code, notes, and snippets.

@joaomilho
Created June 3, 2016 23:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joaomilho/02c7d91f4e481927923a3614873accbb to your computer and use it in GitHub Desktop.
Save joaomilho/02c7d91f4e481927923a3614873accbb to your computer and use it in GitHub Desktop.
{
add: (state, payload) => state + payload],
subtract: (state, payload) => state - payload],
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment