Framework has some nice support for JSX. It’s implemented using esbuild, which is a challenge since we currently do transpilation client-side. Perhaps we could use Babel (too big?) or acorn-jsx (which is nice because we already use Acorn for everything else).
There’s also the question of whether we want the same display semantics (where calling display replaces whatever was previously displayed rather than displaying something new). That seems a little quirky in retrospect…
Framework has some nice support for JSX. It’s implemented using esbuild, which is a challenge since we currently do transpilation client-side. Perhaps we could use Babel (too big?) or acorn-jsx (which is nice because we already use Acorn for everything else).
There’s also the question of whether we want the same
displaysemantics (where callingdisplayreplaces whatever was previously displayed rather than displaying something new). That seems a little quirky in retrospect…