Re:JSX in detail
by savanaly on Friday September 08, 2017 @10:26AM
(#15200366)
Huh? If you want React to render a div somewhere you presumably have to say the word "div" to it at some point. Would you be happier just saying React.createElement('div')? Because saying <div> in the middle of your javascript code is simply syntactic sugar for createElement.
[ Parent
| on HN ]
There are no comments on this comment yet.