score:6

Accepted answer

Append only domain models don't ever mutate state. They just append new state. The strength of MobX is in its ability to "watch" state and react when it is mutated. But since you aren't mutating state (only appending) you lose out on a lot of that strength.

Its still useful: if you using MobX to watch "size" or "count" or something then you'll be reacting when those values change as state is appended. That's just not nearly as hard of a problem as concurrently watching 100's of state objects and reacting when any of them change.


Related Query

More Query from same tag