Skip to content

Conversation

@gcko
Copy link
Contributor

@gcko gcko commented Dec 8, 2025

PR checklist

  • Ensure you have added or ran the appropriate tests for your PR.
  • DCO signed

What type of PR is this?
fix

What this PR does / why we need it:
This fixes hydration warning issues that are caused by changes that are indeed made by 3rd party libraries

Which issue(s) this PR fixes:
N/A

Special notes for your reviewer:

  • Check there are no react hydration warnings created on page refresh

Does this PR introduce a user-facing change?:

NONE

@gcko gcko requested a review from iamcxa December 8, 2025 11:08
@gcko gcko self-assigned this Dec 8, 2025
react-split dynamically adds inline styles (height, width) to its
children after mounting. During static export, these styles don't
exist in the server-rendered HTML, causing hydration mismatches.

Add suppressHydrationWarning to Box components that are direct
children of HSplit/VSplit to suppress this expected warning.

Signed-off-by: Jared Scott <[email protected]>
@gcko gcko force-pushed the claude/fix-next-router-static-export-01HUDxukvHz4MoQb9pkhoEpj branch from f33311b to ff63246 Compare December 8, 2025 11:28
@gcko gcko requested review from even-wei and removed request for iamcxa December 9, 2025 00:24
@even-wei even-wei merged commit f5aea2b into main Dec 9, 2025
6 checks passed
@even-wei even-wei deleted the claude/fix-next-router-static-export-01HUDxukvHz4MoQb9pkhoEpj branch December 9, 2025 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants