You want a UI to re-render whenever state changes, without every writer remembering to call a function afterwards. Writers should be able to assign state.count = 1 as they would on any object, and something should notice.
Calling a notify() after every write works until someone forgets one. The bug is silent: the value changed but nothing re-rendered, and the missing call is invisible at the write site.