Svelte · Junior · Question 1 of 76
What is Svelte?
- ✓Correct answer: A UI framework that is mainly a compiler: components are turned into JavaScript that updates the DOM directly
- 2A runtime library that diffs a virtual DOM on every update
- 3A CSS framework with ready-made components
Explanation
Svelte does most of its work at build time. The output is small, framework-light code that changes exactly the DOM nodes that depend on changed state, without a virtual DOM.