3 ms·
AFAIUI from the React people E4X had a lot of incidental complexity and extraneous stuff relative to JSX. So there's that. I'd argue that with ES6, JSX could j
by lomnakkus 12y ago
AFAIUI from the React people E4X had a lot of incidental complexity and extraneous stuff relative to JSX. So there's that.
I'd argue that with ES6, JSX could just reserve the "jsx" prefix for interpolated strings and go with
jsx`<foo>blah</foo>`
but that's a typical hindsight-is-20/20-thing.
- insin 12y agoThis blog post - "JSX: E4X The Good Parts" - covers what's in and out for JSX: http://blog.vjeux.com/2013/javascript/jsx-e4x-the-good-parts.html http://blog.vjeux.com/2013/javascript/jsx-e4x-the-good-parts...