Series: Svelte Basics
21 articles
- 01.
Learn Svelte & SvelteKit: Course Overview
A complete beginner's guide to Svelte and SvelteKit. From reactivity basics to full-stack applications, learn the framework that compiles away.
- 02.
What Is Svelte?
Discover why Svelte takes a fundamentally different approach to building UIs. Learn how the compiler-first philosophy eliminates runtime overhead and simplifies your code.
- 03.
Your First Component
Learn the anatomy of a Svelte component file. Understand how script, markup, and styles work together in a single .svelte file.
- 04.
Reactivity Basics
Master Svelte's reactive system. Learn how reactive declarations, statements, and the $: syntax make state management effortless.
- 05.
Props and Data Flow
Learn how to pass data between Svelte components using props. Understand the export keyword, default values, and one-way data flow.
- 06.
Event Handling
Handle DOM events and create custom component events in Svelte. Learn event modifiers, dispatching, and forwarding patterns.
- 07.
Conditional Rendering
Control what appears in your UI with Svelte's if blocks. Learn {#if}, {:else}, {:else if}, and when to use them.
- 08.
Lists and Iteration
Render lists efficiently with Svelte's each blocks. Learn about keyed iteration, destructuring, and handling empty states.
- 09.
Two-Way Binding
Master Svelte's bind directive for seamless form handling. Learn to bind inputs, selects, checkboxes, and component props.
- 10.
Slots and Composition
Build flexible, reusable components with Svelte slots. Learn default slots, named slots, slot props, and composition patterns.