4 ms·
Isn't it actually the opposite? Svelte code is compiled to plain JS whereas React has a large runtime.
by tuukkah 5y ago
Isn't it actually the opposite? Svelte code is compiled to plain JS whereas React has a large runtime.
- Aeolun 5y agoNah, 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.