4 ms·
Browsers have no support for JSX, nor is it documented at MDN.
by recursive 3y ago
Browsers have no support for JSX, nor is it documented at MDN.
- sesm 3y agoLet me clarify: React team could choose any syntax of JSX, or even have no syntax and use nested data structures. They've chosen HTML-like syntax for developer convenience. My first experience with React was through ClojureScript and Om (back in 2014), and I can tell you that constantly translating back and forth between 2 vastly different syntaxes hurts.