Skip to content

Latest commit

Β 

History

History
31 lines (19 loc) Β· 563 Bytes

File metadata and controls

31 lines (19 loc) Β· 563 Bytes

The Svelte Context API

Learn how to share state without props and events using the Svelte Context API.

Post

✍️ https://joyofcode.xyz/master-the-svelte-context-api

REPL

Open in StackBlitz

Setup

πŸ§‘β€πŸ€β€πŸ§‘ Clone the project

https://github.com/joysofcode/svelte-context-api.git

πŸ“¦οΈ Install dependencies

pnpm i

πŸ’ΏοΈ Run the development server

pnpm run dev