Skip to content

mutate auto model would not cause rerender #178

@jason89521

Description

@jason89521

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:

  1. notify the corresponding accessor when developers mutate the model
  2. remove the self listeners, the accessor directly notify the model's listeners

I prefer the first approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions