Created
May 7, 2016 04:50
-
-
Save ClementKerneur/4001896db25972ec25e2e79bd387a225 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
#Use $ like React.createElement | |
$ = React.createElement | |
#No jsx, just use coffee | |
$ MyComponent, { propName: 'value', secondPropName: 'value' }, | |
$ MySubComponent, {} | |
$ "div", { className: 'explain' }, "Text in div" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment