0Pricing
Sveltejs Academy · Lesson

What Is Svelte and Why It Compiles

Understand Svelte's compiler-first approach and how it differs from React and Vue.

Welcome to Svelte

Svelte is a compiler-first UI framework. Unlike React or Vue, Svelte does most of its work at build time, not at runtime.

No Virtual DOM

React diffs a virtual DOM at runtime. Svelte instead compiles your components into highly optimized vanilla JavaScript that updates the DOM directly.

All lessons in this course

  1. What Is Svelte and Why It Compiles
  2. Creating a Project with npm create svelte
  3. Project Structure: src routes static
  4. The Dev Server and Hot Module Replacement
← Back to Sveltejs Academy