Currently the auto accessor only notifies the listener inside it instead of notifying the whole model. If developers mutate the model, it would not cause a rerender.
We have two way to fix it:
- notify the corresponding accessor when developers mutate the model
- remove the self listeners, the accessor directly notify the model's listeners
I prefer the first approach.
Currently the auto accessor only notifies the listener inside it instead of notifying the whole model. If developers mutate the model, it would not cause a rerender.
We have two way to fix it:
I prefer the first approach.