Created
February 26, 2018 15:33
-
-
Save ShMcK/e1f0341e735d886f3eed747276377380 to your computer and use it in GitHub Desktop.
Action Creator Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const increment = (count) => ({ type: 'INCREMENT', payload: count }) | |
const decrement = (count) => ({ type: 'DECREMENT', payload: count }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment