4 ms·
Svelte with stores: https://svelte.dev/tutorial/writable-stores https://svelte.dev/tutorial/writable-stores
by Glench 4y ago
Svelte with stores: https://svelte.dev/tutorial/writable-stores https://svelte.dev/tutorial/writable-stores
- dimmke 4y agoYes. This is the way. Once you use stores you realize how complicated state management was made. Redux in particular was so dogmatic about it. So much boilerplate. State is ephemeral. There’s no reason to need one global store.
- nextaccountic 4y agoIs this like React contexts? I can't find a comparison of them (when I google it, it finds comparisons between svelte store and svelte context)
- adamnemecek 4y agoI'm not too familiar with react but AFAIK contexts are a thing that you reach for only occasionally. Svelte stores are a fundamental concept. Check out svelte, it's amazing.
- surkov 4y ago[dead]
- kevinak 4y agoNo, Svelte stores don’t use effector under the hood, they’re most definitely hand written and aren’t using any dependencies at all.