Last active
January 29, 2016 17:27
-
-
Save bkonkle/a478a60203a3abcbc388 to your computer and use it in GitHub Desktop.
Atom snippets for redux-actions
This file contains 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
'constant': | |
prefix: 'const' | |
body: """ | |
export const ${1:NAME} = '${2:app}/${3:reducer}/${1:NAME}' | |
""" | |
'action': | |
prefix: 'act' | |
body: """ | |
export const ${1:name} = createAction(${2:ACTION}) | |
""" | |
'reducer': | |
prefix: 'red' | |
body: """ | |
export default handleActions({ | |
\t${0} | |
}, initialState) | |
""" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment