-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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:
- Create nextjs project with default configuration (fx. Codesandbox or
npx create-next-app) - Implement a tooltip with
react-laag - Load the page with the tooltip
- See error
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.
Browser / OS (please complete the following information):
- OS: MacOS
- Browser: Chrome
- Version: 114.0.5735.248
Package versions
- nextjs@13.4.12
- react-laag@2.0.5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
