Hacker News new | ask | show | jobs
by spion 1957 days ago
> I still don’t know what the proper solution to this problem would be. Keep your state manipulations as simple as possible and try not to share any data between different models. Every time I went forward with some fancy listener-binding mechanisms, I’ve ended up causing subtle circular listener recalculations that were extremely hard to debug.

The answer for me has been pervasive use of MobX computeds everywhere. See https://mobx.js.org/getting-started