svelte-society / recipes-mvp

this repo has been archived - pls head to https://github.com/svelte-society/sveltesociety.dev/tree/master/src/pages/recipes to contribute recipes!
https://github.com/svelte-society/sveltesociety.dev/tree/master/src/pages/recipes
MIT License
289 stars 18 forks source link

Adds updatable context recipe #42

Closed babycourageous closed 4 years ago

babycourageous commented 4 years ago

Adds a section to the stores recipes for using a store to update context.

babycourageous commented 4 years ago

Sounds good! I wrote it up after someone mentioned it during Rich's epic Frontend marathon.

I'll also dig through some old projects to see if I can find any examples of how/why I've used it the pattern.