Skip to content

Increasing number of watchers #1

@floribon

Description

@floribon

Hi, I really love the idea behind that directive. However rather than decreasing the number of watchers, it seems to increase it, even though the actual performances may be better.

If two elements are when-watching the same model, would it be possible to put them all in the same waiting list?

For instance if you have

<div>{{::refresh::model1}}</div>
<div>{{::refresh::model2}}</div>

It would be way better to have only one watcher on refresh that would rebind both watchers when that model change? That would drastically reduce the number of watchers when used in grids (n*p cells) where most refreshs are based on the same condition (basically when the data changes).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions