Exploring different options to manage complex state in Svelte.
Following packages were explored:
- Redux
- Xstate
- Valtio
- Immer
- RxJs
- Custom Stores
External Reference:
- https://www.youtube.com/playlist?list=PLoKaNN3BjQX3fG-XOSwsPHtnV8FUY6lgK
- https://www.reddit.com/r/sveltejs/comments/votgp9/comment/ivkrnk5/?context=3
- https://monad.fi/en/blog/svelte-custom-stores/
- https://github.com/unlocomqx/svelte-reduxify
- https://blog.codecentric.de/simplifying-redux-with-the-redux-toolkit
- https://monad.fi/en/blog/svelte-custom-stores/
- https://medium.com/geekculture/lets-talk-about-state-management-in-svelte-e4a59057b990
Live Code: https://aakashgoplani-nagarro.github.io/Svelte-State-Management/
Conclusion: