Skip to content
Search

Svelte

lastmod 2022-12-06created 2019-10-106 edits

Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app.

Instead of using techniques like virtual DOM diffing, Svelte writes code that surgically updates the DOM when the state of your app changes.

About

Svelte is a tool for building fast web applications.

Svelte is similar to JavaScript frameworks and libraries like React and Vue in that it builds interactive user interfaces.

But there is a crucial difference: Svelte doesn't interpret your app at run time; it converts it to JavaScript at build time. This means you no longer pay a performance cost for the framework's abstractions. Your app also starts up fast on its first load.

You can build an entire app with Svelte, or adopt it incrementally in an existing code base. You can also make standalone components that can be used anywhere, regardless of dependencies on traditional frameworks.

Categories

See also

Favorite site

Guide

author Zer0 sitemap