4 ms·
That's also true of JSX. The default output of both compilers is just a javascript module.
by akvadrako 5y ago
That's also true of JSX. The default output of both compilers is just a javascript module.
- lf-non 5y agoYes, but JSX is much more conservative in what it introduces to the language. Other than the XML syntax rest of js is mostly left untouched. In a svelte file, a lot of usual js constructs like labels, additions, assignments etc. have different semantics making it more work for another language to support it.