Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Vue.js: the good, the meh, and the ugly. Parent comment
JSX is actually just JavaScript with this one special rule:
<foo bar={baz}>child1 {child2}</foo>
transform("foo", { bar: baz, children: ["child1 ", child2] })
There are no comments on this comment yet.
JSX is actually just JavaScript with this one special rule:
becomes That's it. All the rules of JSX can be inferred from that one transformation.