Open Johannes5 opened 9 months ago
and when "use client" added, it doesn't throw out the above errors, but the reveal does not work
and when "use client" added, it doesn't throw out the above errors, but the reveal does not work
I'm currently facing the same issue on next js, nothing renders
Is there an alternative to react awesome reveal that works for NEXT.js 14 server components?
you can reexport it but still would be nice if it's fixed on the library side
'use client'
import { Fade as ReactFade } from 'react-awesome-reveal'
export const Fade = ReactFade
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.