react/jsx
View on GitHub ↗ ★ 2,009 HTML
The JSX specification is a XML-like syntax extension to ECMAScript.
6 mentions on Hacker News by 5 people: 1 story, 5 comments · first 2016-03-16 · latest 2021-11-12
20082026
-
…because it's a single expression. Please go read the JSX spec instead of some random blog post. https://github.com/facebook/jsx
comment by hunterb123 · 2021-11-12 · in Rich Harris joins Vercel to work on Svelte full time -
It's actually a fairly small change (two new PrimaryExpressions), the spec is here: https://github.com/facebook/jsx Example parser from Acorn: https://github.com/acornjs/acorn-jsx/blob/master/index.js No part of JSX uses the DOM, it…
comment by hunterb123 · 2021-11-11 · in Rich Harris joins Vercel to work on Svelte full time -
…glad that never happened. Maybe the next version of React can even remove features, like hooks. 0. https://github.com/facebook/jsx/issues/65
comment by jameslk · 2020-08-11 · in React v17.0 Release Candidate: No New Features -
I know, but it's too verbose for me. BTW there is a discussion about this: https://github.com/facebook/jsx/issues/23
comment by hex13 · 2016-10-16 · in What should go into JSX 2.0? -
▲ 122
What should go into JSX 2.0?story by bpierre · 2016-10-16 · 93 comments
-
…6th Edition (ECMA-262) grammar . Please take a look at the draft JSX spec [0] for details. [0]: https://github.com/facebook/jsx
comment by couchand · 2016-03-16 · in JSX is no longer my friend