3 ms·
JSX is the worst part of react so I find that to be a pretty wild take.
by qudat 2y ago
JSX is the worst part of react so I find that to be a pretty wild take.
- postalrat 2y agoYou honestly can't think of anything worse than JSX? JSX bothers you more than all the ways useEffect gets used or the restrictions for hooks.
- qudat 2y agoThe use API is very simple; JSX is a bastardized version of html that is atrocious to read and write. Just imagine all the dev time spent dealing with jsx/tsx. From IDE support to babel, typescript, etc. it is a burden on the JS/Ts ecosystem and severely contributes to fatigue. Yes. JSX is extremely complex to support and it is absolutely the worst part of react.
- postalrat 2y agoSo what is the alternative that solves all these perceived problems?
- imtringued 2y agoHyperscript was a mistake.