Svelte compiles your components into small, efficient JavaScript instead of shipping a large runtime to the browser. Svelte 5 introduced runes, an explicit and predictable way to declare reactive state that works the same inside components and in plain .svelte.js modules. This course teaches Svelte 5 from the ground up and then builds full applications with SvelteKit, its official application framework.
What you'll learn
- How the Svelte compiler works and why components stay small
- Runes:
$state,$derived,$effectand$props, and when each is the right tool - Component composition with snippets,
{@render}and typed props - Sharing reactive state across components with classes and
.svelte.jsmodules - Transitions, animations and accessible interactive components
- SvelteKit file-based routing, layouts and route groups
- Loading data with
loadfunctions on the server and in the browser - Form actions and progressive enhancement, so forms work before JavaScript loads
- Rendering options: SSR, prerendering and single-page mode per route
- Adapters for deploying to Node.js, static hosting and serverless platforms
Who it's for
- React or Vue developers curious about a lighter, compiler-first approach
- Developers migrating a Svelte 4 project to Svelte 5
- Small teams that want a full-stack framework without much boilerplate
Prerequisites
- Good HTML, CSS and modern JavaScript (see Modern JavaScript Essentials)
- Basic understanding of HTTP and how a browser loads a page
- TypeScript is helpful but optional; examples use it lightly
Outcomes
By the end of this course you will be able to:
- Build interactive components with Svelte 5 runes and explain how their reactivity works.
- Structure a SvelteKit app with layouts, server data loading and form actions.
- Choose the right rendering mode for each route.
- Deploy a SvelteKit app with an appropriate adapter.
Course outline
| Module | Topic |
|---|---|
| 1 | Svelte's compiler approach and project setup with sv |
| 2 | Markup, events and bindings |
| 3 | Runes: $state, $derived and $effect |
| 4 | Props, snippets and component composition |
| 5 | Shared state, stores and context |
| 6 | Transitions, animations and accessibility |
| 7 | SvelteKit routing, layouts and errors |
| 8 | Data loading and server-only code |
| 9 | Form actions and progressive enhancement |
| 10 | SSR, prerendering and hooks |
| 11 | Testing and deployment with adapters |
| 12 | Project: a full-stack SvelteKit app |
FAQ
I learned Svelte 4. Is this still relevant?
Yes. We cover what changed in Svelte 5, including the move from export let and $: to runes, and how to migrate an existing project step by step.
How does Svelte compare to React?
Both are good choices. Svelte usually ships less JavaScript and needs less code for common tasks, while React has a larger ecosystem and job market. We discuss the trade-offs honestly.
Do I need a backend to use SvelteKit?
No. SvelteKit can prerender a fully static site, but it also lets you write server code in the same project when you need it.
How do I join?
Get in touch and we'll share the current format, schedule and enrolment details.