-
Notifications
You must be signed in to change notification settings - Fork 320
fix hydration error #1296
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
fix hydration error #1296
Conversation
🦋 Changeset detectedLatest commit: 1a57a2d The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR ReviewCritical Issue: ❌ Incomplete migration → The PR migrates Two options to fix:
Why this matters: Mixed usage of two different |
E2E Test Results✅ All tests passed • 26 passed • 3 skipped • 230s
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix LGTM and appears to fix the issue.
I do have a question similar to Claude's though - is there a reason that we should continue to use the existing useLocalStorage hook in some places but not others, or would a complete migration to the mantine hook be worthwhile at some point?
We definitely should migrate towards the mantine hook over our own - the hooks to operate differently (ours does the logic on initial mount, but mantines does it in an effect after initial mount), this could introduce bugs so I'd be nervous to replace all of them without more testing |
Fixes hydration error if the sidebar is collapsed when you load the page
Fixeds HDX-2647