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.
Description
We are currently caching views that may get disposed and brought back, such as with the
whendirective. This being the case there are certain behaviors that have been uncovered which can cause crashes, such as if awhencontains 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.