News for hackers. Stuff that matters.
Re:Reasons to Learn Redux as a JavaScript Developer by Kiro on Wednesday January 01, 2020 @05:33PM (#21931197)
One of the main reasons I'm using Redux is because of the global store. If I understand the docs correctly this is how you do it in Svelte:

https://svelte.dev/examples#writable-stores

What's up with that? A strange semi-singleton where you need to use writable(0)? Also strange that subscribe return unsubscribe. Doesn't seem very intuitive.

There are no comments on this comment yet.