Myvideo

Guest

Login

Svelte Store: 3 tips to manage complex Svelte store

Uploaded By: Myvideo
1 view
0
0 votes
0

If you have large and complex Svelte store, and you feel they are slowing your Svelte application down, here are 3 tips to manage them Introduction 00:00 1. If you have a complex state, avoid manipulating the writable store directly 05:35 2. Have a small, self-contained store 17:04 3. If you have a large store, subscribe to its derived sub store if possible 23:08 --- 💻 REPL Before: After: 📚 Related Resources Flux Architecture XState as Svelte store Valtio as Svelte store Redux as Svelte store Immer for Immutable Svelte store 🥰 Support me 🔗 Want to learn more from me? Check out these links: Twitter: Blog: https://lihauta

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later