-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hoisting-up vnode - infinite loop warning #6610
Comments
The code was working at v2.4.2; seems like it was introduced at v2.4.3. |
For now your workaround could be either |
Fix works great! Thanks @yyx990803 |
ztlevi
pushed a commit
to ztlevi/vue
that referenced
this issue
Feb 14, 2018
f2009
pushed a commit
to f2009/vue
that referenced
this issue
Jan 25, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.4.4
Reproduction link
http://jsfiddle.net/vjvMp/2019/
Steps to reproduce
The precise layout of the components are in the JSFiddle. The assembly of the components is for some reason very fragile which makes me think that this is a bug. For example, if I remove the top-most
layout
component that shouldn't affect the code, the warning disappears: http://jsfiddle.net/vjvMp/2020/What is expected?
For the slot on the Child to be hoisted up to the Parent and rendered above the Child without problem.
What is actually happening?
The Child gets rendered but there is an infinite update loop warning.
The text was updated successfully, but these errors were encountered: