If you modify a class instance property, that's it. It is not reactive, so Svelte does not know it's changed.
In this video, we are going to explore how to use store, to make class property a reactive property.
Related Resources Svelte Tutorial: Stores https://svelte.dev/tutorial/writable-stores
🥰 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
Thanks for watching 🥰 -- with love, Li Hau