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

Add disconnectedCallback stub. #213

Merged
merged 2 commits into from
Sep 27, 2018
Merged

Add disconnectedCallback stub. #213

merged 2 commits into from
Sep 27, 2018

Conversation

Westbrook
Copy link
Contributor

Fixes #212

Disconnected stub allows for feature additions in the disconnect phase of the element lifecycle as needed without it being a breaking change, while making it possible to apply super.disconnectedCallback() in all extensions.

@Westbrook
Copy link
Contributor Author

Upon reflection and review of https://github.com/Polymer/polymer/blob/master/lib/mixins/properties-mixin.js, I wonder if this would be better applied in https://github.com/Polymer/lit-element/blob/master/src/lit-element.ts with the same extension protection syntax as properites-mixin.js did?

@markcellus
Copy link

@Westbrook this is a very nice catch. I was wondering about this the other day.

Copy link

@deepsnitk deepsnitk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

positibility <- spelling mistake

@sorvell sorvell merged commit 1021514 into lit:master Sep 27, 2018
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.

4 participants