Hacker News new | past | comments | ask | show | jobs | submit login

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#rea...




Isn'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?


I'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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: