Svelte
A radical frontend framework that shifts the heavy lifting of UI updates from the browser to a compilation step, resulting in smaller, faster code.
What it is
Unlike React or Vue, which run an engine in the browser (a virtual DOM) to figure out how to update the screen, Svelte is a compiler. It analyzes your code during the build process and generates tiny, highly optimized vanilla JavaScript that surgically updates the DOM only when variables change.
When you would use it
You use Svelte when extreme performance, small bundle sizes, and simple, readable code are your top priorities for frontend development.
Common operations
- Building highly performant, lightweight web applications for low-power devices.
- Developing embeddable widgets that don't require loading a heavy framework runtime.
Related terms
Where this is taught
No learning path uses this term yet. Browse the Learning Atlas for guided sequences through related ideas.