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

Detect document adoption without listeners #57

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Detect document adoption without listeners #57

wants to merge 5 commits into from

Conversation

weizman
Copy link
Member

@weizman weizman commented Oct 9, 2024

@masatokinugawa showed in #54 how event listeners are a bad approach for telling when a LavaDome node was moved to another document, this approach leverages custom elements for the exact same purpose, only without being vulnerable to event listeners reset.

TODO: teardown is too strict, would be better if didn't apply to "hashchange"

@weizman weizman changed the title issue 54 draft Detect document adoption without listeners Oct 26, 2024
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.

1 participant