-
Notifications
You must be signed in to change notification settings - Fork 841
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
Preact compatibility: error on undefined parent in memoizeSize() #254
Labels
Comments
It also seems like |
FWIW it also appears to work fine with |
Reopening because I think I can fix this. |
nolanlawson
added a commit
to nolanlawson/emoji-mart
that referenced
this issue
Feb 5, 2019
Closed
nolanlawson
added a commit
to nolanlawson/emoji-mart
that referenced
this issue
Feb 5, 2019
nolanlawson
added a commit
to nolanlawson/emoji-mart
that referenced
this issue
Mar 10, 2019
This was referenced Sep 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there, great library, thanks so much for making it. 🙂
I'm working on creating an emoji picker that lazy-loads
emoji-mart
as well as React (since my project does not use React). I've found remount to be a great way to bundle this library as a custom element, but I'd also like to use Preact to get the bundle size down.Unfortunately when I use Preact with the standard Webpack configuration:
This results in the following error in the console:
Here's where the error happens:

Interestingly, it doesn't seem to actually affect the functionality of the component itself, but it is a noisy error in the console. Maybe this is a bug in
preact-compat
, or maybe this is fixable inemoji-mart
?The text was updated successfully, but these errors were encountered: