Svelte · Junior · Question 73 of 76
Why are Svelte bundles often small?
- ✓Correct answer: The compiler outputs only the code a component needs, and the runtime is tiny
- 2Svelte apps can't use npm packages
- 3Svelte removes all CSS
Explanation
There is no big framework runtime with a virtual DOM to ship. Bundle size still grows with the number of components.