You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: useSyncExternalStore missing getServerSnapshot in RSC with Lexical v0.37.0 #7934
When using Lexical v0.37.0 with React Server Components (RSC), the following warning appears:
Missing getServerSnapshot, which is required for server-rendered content.
This occurs in @lexical/react/LexicalReactExtension.dev.mjs where useSyncExternalStore is called without the required getServerSnapshot function, causing hydration issues in RSC environments.
Activity
etrepum commentedon Oct 20, 2025
Want to submit a PR to fix it?
getSnapshotshould work for the third argument too.fix(react): Add getServerSnapshot for RSC compatibility