Skip to content

Update pending property #28

@michaelzangl

Description

@michaelzangl

I currently use this plugin to get resources from the server. I want to display a loading indicator while content is refreshing / updating.

To do this, I'd like to have a property that indicates if a asyncComputed property is being recomputed. Something like:

asyncComputed {
  someData: ...
}
...

this.someData // the computed value
this.someDataIsUpdating // implicit property, true while the computed value is updating

What do you think of this concept? Is it good to have those implicit properties or do you have a better idea? Should I implement it and create a PR?

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