Skip to content
All essays
WebFebruary 26, 20258 min

Svelte and SvelteKit: The Disappearing Framework

Discover Svelte - the framework that disappears at runtime. Compile-time magic for better performance.

Ü
Ümit Uz
Mobile & Full Stack Developer

Svelte Components

svelte
<script>
let count = 0;
</script>

<button on:click={() => count++}>
  Clicks: {count}
</button>

SvelteKit

javascript
// SvelteKit endpoints
export async function load({ fetch }) {
  const res = await fetch('api/data');
  const data = await res.json();
  return { data };
}

No virtual DOM, just fast apps!

Related essays

Next essay
System Design: Scalability and Performance