Skip to content

Fixing Vue.$destroy(remove) does not trigger "detached" hook on secon… #1967

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

Merged
merged 1 commit into from
Dec 6, 2015

Conversation

tgeorgiev
Copy link

…d level children

Please see issue for description about the problem and what this change is supposed to fix - #1966
I know that it doesn't look good to modify tests when they fail because of a change, but I think that the lifecycle hook order should be different than what the existing test validates. The problem is again described in the issue summary

…d level children

Please see issue for description about the problem and what this change is supposed to fix - vuejs#1966
I know that it doesn't look good to modify tests when they fail because of a change, but I think that the lifecycle hook order should be different than what the existing test validates. The problem is again described in the issue summary
@yyx990803
Copy link
Member

Nice work! Thanks for the fix and the thorough tests - indeed I think the post-fix hook order is more reasonable.

yyx990803 added a commit that referenced this pull request Dec 6, 2015
Fixing Vue.$destroy(remove) does not trigger "detached" hook on secon…
@yyx990803 yyx990803 merged commit 0fcfb8e into vuejs:dev Dec 6, 2015
@tgeorgiev
Copy link
Author

Thank you too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants