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
Have one or more branches of code where the same component is rendered with different children. Subsequent renders of one of the other branches, will not show the new children.
In particular use case, I have a HOC component which is rendering a component in a layout component. I did some experimenting, and it seems the issues only happens if the HOC is functional.
Fixed in b5b963f and related commits. Note in the next release it is no longer necessary (and nor supported) to pass component children as thunks. Just directly pass children vnodes!
Vue.js version
^2.0.0-beta.5
Reproduction Link
https://jsfiddle.net/chrisvfritz/rpmce1v8/
Steps to reproduce
Have one or more branches of code where the same component is rendered with different children. Subsequent renders of one of the other branches, will not show the new children.
Set
inner1
to falseWhat is Expected?
The screen will show "Inner2"
What is actually happening?
The screen continues to show "Inner1"
The text was updated successfully, but these errors were encountered: