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
Tested in Meteor 3.0.1
MacOS 14.6.1
expected behavior: data context in view should be the same as currentData while re-rendering
actual behavior: data context in view is stale while re-rendering
Here's the minimal reprod using Blaze test code:
In the test code, the final buf shows
[
"getMsgs called: foo",
"view:foo, data:foo",
"---flush---",
"getMsgs called: bar",
"view:foo, data:bar", <------------- foo in view, but bar in currentData
"view:bar, data:bar"
]
I'm not 100% sure if this is a bug or expected behavior, but it can cause confusion since it's a very common pattern.
Tested in Meteor 3.0.1
MacOS 14.6.1
expected behavior: data context in view should be the same as currentData while re-rendering
actual behavior: data context in view is stale while re-rendering
Here's the minimal reprod using Blaze test code:
In the test code, the final
buf
showsI'm not 100% sure if this is a bug or expected behavior, but it can cause confusion since it's a very common pattern.
Here's the app code
The text was updated successfully, but these errors were encountered: