daxus
daxus copied to clipboard
mutate auto model would not cause rerender
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.