You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following example, I create an async virtual foo property, and a bar property that depends on it. If you bind to bar, it computes once when foo is undefined, and then recomputes twice after foo is set (3 total times). It should only recompute/log one time after foo is set (2 total times).
In the following example, I create an async virtual
foo
property, and abar
property that depends on it. If you bind tobar
, it computes once whenfoo
isundefined
, and then recomputes twice afterfoo
is set (3 total times). It should only recompute/log one time afterfoo
is set (2 total times).Using stache binding:
http://jsbin.com/dagozulelu/edit?html,js,console,output
If it matters, in my use case,
bar
is also an asynchronous virtual property that makes a network request oncefoo
is set.As a workaround, I am setting
foo
in my component'sinserted
event for now.The text was updated successfully, but these errors were encountered: