News for hackers. Stuff that matters.
Re:I like Svelte more than React (it's store management) by davidkpiano on Sunday June 01, 2025 @10:22AM (#44151094)
Re: atoms + learning curve, this is why XState Store exists, which supports both XState-style state updates and atoms: https://stately.ai/docs/xstate-store

I also like the approach of Svelte, and realize that sometimes a full state machine isn't needed. I don't think that atoms should be used everywhere, since updating state freely without guardrails just leads to disaster long-term.

There are no comments on this comment yet.