Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
noahtallen
on Nov 12, 2021
|
parent
|
context
|
favorite
| on:
Rich Harris joins Vercel to work on Svelte full ti...
Not just most of the time — all of the time! JSX is converted to plain JS (react.createElement) before it gets to the browser.
tuukkah
on Nov 12, 2021
[–]
Isn't it actually the opposite? Svelte code is compiled to plain JS whereas React has a large runtime.
Aeolun
on Nov 13, 2021
|
parent
[–]
Nah, JSX also gets converted to Javascript. The difference is in that the React runtime re-renders whole components every time something changes, and Svelte is more granular about it even during the compilation step.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: