Skip to content

Conversation

rsoury
Copy link

@rsoury rsoury commented Jun 21, 2018

In Preact (a lighter alternative to React), domNode returns an object that contains the HTML Element and does not provide a method within Component that supports contains.

Therefore, contains is undefined in Preact.

This has been tested.

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