Comment

Comment by kevmo314

How does this differ from a Redux-type store besides being able to instantiate them on demand instead of having a global state?

> It’s easy to screw up immutability in JavaScript, the actor internal state can be modified externally if users of the library are not extremely careful.

Object.freeze() can help prevent this.

parent kevmo314 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton