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

🔧⚠️ Issue/13 deprecate v0 custom element reactions #16

Merged
merged 3 commits into from
Jun 18, 2017
Merged

🔧⚠️ Issue/13 deprecate v0 custom element reactions #16

merged 3 commits into from
Jun 18, 2017

Conversation

snuggs
Copy link
Contributor

@snuggs snuggs commented Jun 17, 2017

Fixes #13

Migrate Slim component to v1 reaction callbacks:

  • .attachedCallback() ➡️ .connectedCallback()
  • .detachedCallback() ➡️ .disconnectedCallback()
  • .createdCallback() ➡️ [[constructor]]

Did not change createdCallback() to [[constructor]] due to there being logic related to repeaters that explicitly call .createdCallback(). This is a smell of Feature Envy and should probably be responsible for its own instantiation/creation.

Custom Element Reaction Spec Definition

@snuggs snuggs changed the title Issue/13 deprecate v0 custom element reactions 🔧⚠️ Issue/13 deprecate v0 custom element reactions Jun 17, 2017
@eavichay eavichay merged commit 63a43f2 into slimjs:master Jun 18, 2017
@snuggs snuggs deleted the issue/13-deprecate-v0-custom-element-reactions branch June 19, 2017 00:58
@snuggs
Copy link
Contributor Author

snuggs commented Jun 19, 2017

@eavichay 🙏

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