[–] novocantico 1y ago ↗ JSX can become valid, standardized ECMAScript syntax.But first we need a valid syntactic sugar transformation, which I propose here.Then we need to implement it in things like babel[0] bun[1] and deno[2].Then, frameworks would adopt it as an optional alternative implementation.Eventually, it could gain widespread support and become standardized.[0] https://github.com/sdegutis/vanillajsx.com/blob/main/site/un...[1] https://github.com/oven-sh/bun/issues/13630[2] https://github.com/denoland/deno/issues/25312
[–] groone 1y ago ↗ The closest thing to this right now is solidjs. Super close to plain javascript but with tree shake build
[–] hellohello2 1y ago ↗ Why object literals instead of the standard function calls? Seems much less flexible.
3 comments
[ 4.4 ms ] story [ 18.6 ms ] threadBut first we need a valid syntactic sugar transformation, which I propose here.
Then we need to implement it in things like babel[0] bun[1] and deno[2].
Then, frameworks would adopt it as an optional alternative implementation.
Eventually, it could gain widespread support and become standardized.
[0] https://github.com/sdegutis/vanillajsx.com/blob/main/site/un...
[1] https://github.com/oven-sh/bun/issues/13630
[2] https://github.com/denoland/deno/issues/25312