Skip to content

added preact compatibility. used with preact-compat#40

Open
rsoury wants to merge 2 commits intokentor:masterfrom
rsoury:master
Open

added preact compatibility. used with preact-compat#40
rsoury wants to merge 2 commits intokentor:masterfrom
rsoury:master

Conversation

@rsoury
Copy link
Copy Markdown

@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