Skip to content

Reconsider approach in caching views #7444

@janechu

Description

@janechu

Description

We are currently caching views that may get disposed and brought back, such as with the when directive. This being the case there are certain behaviors that have been uncovered which can cause crashes, such as if a when contains an observable and the data bound to the observable changes.

Requirements

Consider and document any alternative approaches that can cleanly cache any logic for the view that is not expected to update and reconnect any behaviors, such as expression evaluation, after it has been reconnected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Triage

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions