https://news.ycombinator.com/item?id=11388143
blog-post-immutability-is-not-enough#desired-state-change1 A solution to this is that instead of returning a new state object, each component could return a piece of data representing a desired state change. blog-post-immutability-is-not-enough#desired-state-change1
blog-post-immutability-is-not-enough#effect-systems Representing side effects as data is the core idea behind effect systems blog-post-immutability-is-not-enough#effect-systems