Skip to content
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

[BUGFIX beta] [FIXES #14447] fix didDestroyElement #14453

Merged
merged 1 commit into from
Oct 12, 2016
Merged

Conversation

stefanpenner
Copy link
Member

@stefanpenner stefanpenner commented Oct 12, 2016

Components via appendTo, must behave the same when torn down via destroy, and the regular rendering system tearing them down. This code-path isn’t as first class as it likely should be, as it only exists for supporting the more legacy style of unit testing. Using the component integration tests, the typical code path is taken.


Note: this appears to work, but I don't really like it. Open to suggestion


  • restore tests
  • make it work
  • get feedback
  • explore making it suck less?

Marvin is not amused by this humans lolcode.

photo on 10-11-16 at 7 29 pm 2

Components via appendTo, must behave the same when torn down via destroy, and the regular rendering system tearing them down. This code-path isn’t as first class as it likely should be, as it only exists for supporting the more legacy style of unit testing. Using the component integration tests, the typical code path is taken.
@chadhietala
Copy link
Contributor

LGTM.

@krisselden
Copy link
Contributor

I think it is important to get this fixed, I'm not crazy about it being called in 2 paths, but I'm not sure that is the highest priority right now so 👍

@stefanpenner stefanpenner merged commit 48f2e1d into master Oct 12, 2016
@stefanpenner stefanpenner deleted the fix-14447 branch October 12, 2016 16:04
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.

3 participants