-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Does not work on nextjs 14 #201
Comments
and when "use client" added, it doesn't throw out the above errors, but the reveal does not work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Does not work on nextjs 14
I think because emotion does not work with nextjs 13 and 14
emotion issue
I found out, because the reveals weren't triggered on my landing page after upgrading to 14.
To Reproduce
use it in a fresh nextjs14 project
that's what I did. and I got:
Potential solution
Use Emotion v10 instead of v11.
Another workaround is to use the @emotion/react and @emotion/styled packages instead of @emotion/core. You can find more information about these workarounds in the comments of the GitHub issue.
The text was updated successfully, but these errors were encountered: