Skip to content

Instantly share code, notes, and snippets.

@madan712
Created March 31, 2019 12:13
Show Gist options
  • Save madan712/e396e0011a1e3b7627605b6c7619e789 to your computer and use it in GitHub Desktop.
Save madan712/e396e0011a1e3b7627605b6c7619e789 to your computer and use it in GitHub Desktop.
AppAction.js - Simple React + Redux example
export function increment() {
return {type: 'INCREMENT'};
}
export function decrement() {
return {type: 'DECREMENT'};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment