3 ms·
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.
by benatkin 11y ago
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.
- antris 11y agoIt'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.