Created
May 17, 2017 17:00
-
-
Save oprearocks/0283fbaf022f44bdf254ce7889d99dc6 to your computer and use it in GitHub Desktop.
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
// beware of dragons | |
// don't put your brackets on a new line | |
function actionCreator(data) { | |
return | |
{ | |
type: 'EATEN_BY_A_DRAGON', | |
data | |
} | |
} | |
// or you'll get | |
function actionCreator(data) { | |
return🐉 | |
{ | |
type: 'EATEN_BY_A_DRAGON', | |
data | |
}🐉 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment