Created
May 25, 2017 15:04
-
-
Save Louiefigz/488a035c81bd5939d161c0508a235723 to your computer and use it in GitHub Desktop.
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
//TaskAction.js | |
//We are packaging the data for the reducer. | |
export const addTask = (task) => { | |
return { | |
type: 'ADD_TASK', | |
task | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment