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

onInit fires recursively #6

Closed
calebdwilliams opened this Issue Aug 28, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@calebdwilliams
Copy link
Owner

calebdwilliams commented Aug 28, 2018

onInit methods will fire recursively, change call site from Template to Component.connectedCallback. This will also insure that onInit is called exactly once (and add a default empty method for onInit to prevent checks; do the same for onDestroy).

@calebdwilliams

This comment has been minimized.

Copy link
Owner Author

calebdwilliams commented Aug 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment