-
Notifications
You must be signed in to change notification settings - Fork 53
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
Failed to execute 'createElement' #148
Comments
Hey @Bestadd, |
Hey, I can't replicate this. I tried it locally and on StackBlitz and imports work fine. Vite: react-scripts: Any idea how to replicate it? |
Hey, I just had the same issue, when trying out this lib.
Could also not yet reproduce it on stackblitz :( |
Hey, it would be awesome if we can figure out the way to reproduce it, I can't make it happen on my machine. Any ideas? |
It looks like the default export for the ems is not a string and not the component object as of v3.2.2/3.2.1 to resolve reverted to 3.2.0
Expected behavior
import AnimateHeight from 'react-animate-height';
results inAnimateHeight
being a react componentcurrent behavior
import AnimateHeight from 'react-animate-height';
results inAnimateHeight
being the string (ex: '/static/media/index.c7618d05.cjs'This results in the error
Possible Solution
I have no clue why this is happening
Steps to Reproduce (for bugs)
create an application using v3.2.2 that compiles using vite.JS or react-scripts and renders an AnimateHeight component
Your Environment
The text was updated successfully, but these errors were encountered: