Skip to content

fix(react): suppress Plyr layout hydration warning - #1823

Merged
mihar-22 merged 1 commit into
mainfrom
codex/1610-plyr-hydration
May 26, 2026
Merged

fix(react): suppress Plyr layout hydration warning#1823
mihar-22 merged 1 commit into
mainfrom
codex/1610-plyr-hydration

Conversation

@mihar-22

Copy link
Copy Markdown
Member

Summary

  • suppress hydration checking on the React Plyr layout root
  • preserve the existing server-only initial Plyr classes so the runtime classList controller can own client-side state classes

Fixes #1610.

Validation

  • pnpm --filter @vidstack/react typecheck

No focused SSR hydration test exists for the Plyr layout path.

@mihar-22
mihar-22 marked this pull request as ready for review May 26, 2026 07:05
@mihar-22
mihar-22 merged commit ec13a62 into main May 26, 2026
1 check passed
@mihar-22
mihar-22 deleted the codex/1610-plyr-hydration branch May 26, 2026 07:05
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.

Plyr Layout causing Hydration error in NextJS server components

1 participant