-
Notifications
You must be signed in to change notification settings - Fork 47
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
[BUG]: Hydration fails with nextjs app router #96
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
A clear and concise description of what the bug is.
renderLayer
causes hydration errors when using the nextjs app router.To Reproduce
Steps to reproduce the behavior:
npx create-next-app
)react-laag
Example here
https://codesandbox.io/p/sandbox/pensive-waterfall-tmw3dt?file=%2Fapp%2Fpage.tsx%3A12%2C1
Expected behavior
Wrapping the component in "use client" should not cause hydration errors.
Screenshots
Browser / OS (please complete the following information):
Package versions
The text was updated successfully, but these errors were encountered: