background icons
background icons 2

Video Belajar

Tonton dan pelajari berbagai topik menarik melalui video pembelajaran eksklusif dari Channel lihautan.

lihautan

3015

Svelte Store: Reactive context using Svelte Store

How do we make context value reactive?

Context values seemed to be stuck once initialised, how does making the changing values available through context?

---

💻 REPL: https://svelte.dev/repl/e7719405bd04453aa535d898716c5c90?version=3.35.0

📚 Related Resources
- getContext and setContext https://svelte.dev/tutorial/context-api

🥰 Support me https://www.buymeacoffee.com/lihautan

🔗 Want to learn more from me? Check out these links:

Twitter: https://twitter.com/lihautan
Blog: https://lihautan.com/
Newsletter: https://lihautan.com/newsletter

#svelte #sveltestore

Thanks for watching 🥰 -- with love, Li Hau