Vanilla JSX support? #13496
thesoftwarephilosopher
started this conversation in
Ideas
Replies: 1 comment
-
If not, I propose a fifth JSX compiler option "vanilla" be added that does this: <a href="foo">bar</a> as { jsx: "a", href: "foo", children: ["bar"] }
<Foo x='1' y='0' /> as { jsx: Foo, x: '1', y: '0' }
<hr/> as { jsx: "hr" } I've read most of Zig's docs last week and I'm looking for an excuse to write some Zig, so I would volunteer to implement this feature. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would bun be able to support https://vanillajsx.com/ out of the box?
Mainly it would just need to support a custom JSX transpilation stage, that transforms JSX to whatever the plugin needs.
Is this already possible? It's hard for me to tell just based on the Bun Loader plugin docs.
Beta Was this translation helpful? Give feedback.
All reactions