Proposal for Standardized JSX
vanillajsx.com
Proposal for Standardized JSX
1–4 of 4 posts
Re: Proposal for Standardized JSX
#2JSX 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...
Re: Proposal for Standardized JSX
#3The closest thing to this right now is solidjs. Super close to plain javascript but with tree shake build
Re: Proposal for Standardized JSX
#4Why object literals instead of the standard function calls? Seems much less flexible.