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

Support DOM References #2

Open
JohnDoneth opened this issue Dec 29, 2021 · 0 comments
Open

Support DOM References #2

JohnDoneth opened this issue Dec 29, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@JohnDoneth
Copy link
Owner

Add a constructor to VDOM called Ref that would allow for integrating with third-party libraries that manipulate the DOM on their own. A Ref would allow tracking of DOM elements outside of the DOM patching lifecycle so any changes to those elements would not be overridden and be opaque to the DOM patching process.

Ideally we could keep this code "pure" and not rely on having a real / polyfilled DOM in place for testing and use server-side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant