1
0
mirror of https://github.com/bobwen-dev/react-templates synced 2025-04-12 00:56:39 +02:00

fix JS to JSX as it should be

This commit is contained in:
ido 2015-01-05 10:20:17 +02:00
parent d1543d0fd6
commit c5c7ced976

View File

@ -41,7 +41,7 @@ https://github.com/wix/hello-react-templates
* event handlers * event handlers
###### Why not use JSX? ###### Why not use JSX?
Some love JSX, some don't. We don't. More specifically, it seems to us that JS is only a good fit for components with very little HTML inside. And this can be accomplished by creating DOM elements in code. Also, we like to separate code and HTML because it just feels right. Some love JSX, some don't. We don't. More specifically, it seems to us that JSX is only a good fit for components with very little HTML inside. And this can be accomplished by creating DOM elements in code. Also, we like to separate code and HTML because it just feels right.
## Installation ## Installation
You can install react-templates using npm: You can install react-templates using npm: