3 ms·
Or just skip JSX and use ReactDOM directly.[1] JSX is just sugar for the functions underneath, after all. [1]: https://facebook.github.io/react/docs/top-level-
by __derek__ 10y ago
Or just skip JSX and use ReactDOM directly.[1] JSX is just sugar for the functions underneath, after all.
[1]: https://facebook.github.io/react/docs/top-level-api.html#reactdom https://facebook.github.io/react/docs/top-level-api.html#rea...
- hashkb 10y agoIsn't that a lot like hyperscript? Maybe I like this or mercury or I one of the other varieties better for one reason or another. Is ReactDOM the best fit for everyone?
- deleted 10y ago[deleted]
- __derek__ 10y agoI've never used HyperScript, and I made no claims about anything being the ONE TRUE TOOL. I suggested that yladiz's recommendation would fit your described preferences better without injecting JSX.