Re:Learn Raw React – No JSX, No Flux, No ES6, No Webpack
by benatkin on Sunday February 14, 2016 @01:59AM
(#11097428)
Some people don't like JSX. This is fine. But to imply that it's not part of React by calling the non-JSX variant "raw React" is misleading.
[ Parent
| on HN ]
Re:Learn Raw React – No JSX, No Flux, No ES6, No Webpack
by antris on Sunday February 14, 2016 @09:12AM
(#11098307)
It's not misleading at all. I've created several React apps without JSX. I just didn't feel I had a need for it, and React without JSX worked really well.
People make these exaggerated comparisons of raw React code vs. JSX where they show unrefactored code with React.createElement spammed all over the place. With functional programming principles you can cut that syntax down to almost the expression power of JSX.