Skip to content

Re-assess volatile #7515

@janechu

Description

@janechu

Description

Currently volatile relies on interpretation of a conditional to determine what properties will cause it to update.

Proposal

Consider the common use cases for volatile and determine if there is a more reasonable implementation that would be easier for developers to debug.

A crude example:

Observable.update(
    [this.a, this.b], // observable properties to attach a watcher to
    this.c // property that will have trigger Observable.notify() against
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Task.

    Projects

    Status
    Triage

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions