Re:Rich Harris joins Vercel to work on Svelte full time
by kall on Thursday November 11, 2021 @08:38PM
(#29195416)
One nice thing about JSX is that it is pretty straightforward to write the function (React.createElement replacement) that it transforms to, so you can use it to construct any complex tree-like structure. No DOM stuff is needed. For example writing a JSX factory to output a static html string is maybe 20 lines of code.
[ Parent
| on HN ]
There are no comments on this comment yet.