- 02What is the Context API? An introduction to the Context API in Svelte 5, explaining its purpose, mental models, and when to use it.15 min concept
- 03Providing Context Learn how to provide context in Svelte 5 using the setContext function, enabling efficient data sharing across component hierarchies without prop drilling.40 min reference
- 04Consuming Context Master the art of consuming context in Svelte 5 using getContext, hasContext, and getAllContexts with robust error handling and type-safe patterns.40 min reference
- 05Context Scope and Flow Learn how context flows through component trees and architect scalable context hierarchies in Svelte.45 min concept
- 06Making Context Reactive Master reactive context in Svelte 5. Learn why context is not reactive by default and how `$state` objects and getters solve it.32 min reference
- 07Reactive Context Patterns Master reactive context in Svelte 5: clean APIs with getters, computed values with $derived, side effects with $effect, and reusable modules.35 min reference
- 08Updating Shared State Through Context Learn the difference between read-only and read-write context, how to pass actions instead of raw state, and design stable, maintainable context APIs.16 min reference
- 09Class-Based Context Master TypeScript classes with Svelte 5 runes for encapsulated, type-safe context, including private fields and lifecycle management.28 min reference
- 10Context as a Feature Boundary Master feature encapsulation with Svelte 5 context. Build self-contained modules with clear APIs and replace global stores with scoped architecture.25 min guide
- 11Designing Context APIs Master context API design in Svelte 5 with read-only vs. read-write patterns and action methods for maintainable contracts.30 min reference
- 12Context Practices: The Complete Guide Master professional patterns for Svelte 5 context—from naming conventions to advanced API design, testing, and scalable architecture.45 min reference
- 13Context Pitfalls and Debugging Identify and avoid common pitfalls when using Svelte 5s Context API, with practical debugging tips and strategies for effective context management.45 min reference
- 14Context Performance and Stability Understand why context is cheap in Svelte, what actually causes re-renders, and when using context becomes a code smell indicating architectural problems.35 min reference
- 15Context vs Other Patterns Master Svelte 5 state management: when to use context, props, stores, events, or module state. Includes decision frameworks and real scenarios.40 min guide
- 16Compound Components with Context Build flexible compound component systems in Svelte 5 using context for internal communication. Create tabs, accordions, and other composable UI patterns.45 min reference
- 17Theme Systems with Context Master theme management in Svelte 5 with light/dark modes, system detection, local overrides, SSR support, and CSS variables.28 min tutorial
- 18Dynamic Theme Customization at Runtime When JavaScript should set CSS custom properties at runtime: user color pickers, API-driven themes, computed palettes.55 min tutorial
- 19Shopping Cart with Context Build a production-grade shopping cart with Svelte 5 context, featuring reactive state, persistence, scoped isolation, and multiple independent contexts.45 min tutorial
- 20Multi-Step Form Wizard with Context Build a complete multi-step form wizard in Svelte 5 with step navigation, validation, progress tracking, and data persistence across steps.28 min tutorial
- 21Authentication Architecture with Context Build a runnable Svelte 5 auth system with session cookies, role-based permissions, server route guards, and context-powered access control.40 min tutorial
- 22Multi-Tenant SaaS with Context API Build a fully working multi-tenant SaaS dashboard from scratch, subdomain tenant resolution, layered context, feature flags, and role-based admin panel.40 min project