-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
nested track-by breaks when replacing the whole object #782
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
Comments
More reproducible errors without the random: |
Ok, I figured it out: here |
When the parent vm is reused, newly created children will inherit the _reused property, and they won't be inserted into the dom. Fixes vuejs#782
When the parent vm is reused, newly created children will inherit the _reused property, and they won't be inserted into the dom. Fixes vuejs#782
Thanks for digging in and fixing this! |
I don't know if I'm doing something wrong, but this breaks if you click the button a couple times:
http://jsfiddle.net/nkovacs/c08kdyka/
The most common error is
"Uncaught TypeError: Cannot read property '__vue__' of null".
, but there are others too.If I remove the v-repeat of subitems, or remove the outer track-by directive, it works.
The text was updated successfully, but these errors were encountered: