Skip to content

fix(ui): guard Node reference for SSR compatibility in isTriggerTitle - #5509

Merged
rekram1-node merged 1 commit into
anomalyco:devfrom
code-yeongyu:fix/share-page-ssr-node-reference
Dec 14, 2025
Merged

rekram1-node merged 1 commit into
anomalyco:devfrom
code-yeongyu:fix/share-page-ssr-node-reference

Conversation

@code-yeongyu

Copy link
Copy Markdown
Contributor

Summary

  • Fix ReferenceError: Node is not defined crash on Share pages (SSR)

Why

  • The isTriggerTitle utility checks instanceof Node which throws in the server environment where Node is not defined
  • This caused the entire application to fail hydration and render empty on share routes
  • Special thanks to @Dragoy for debugging and identifying the root cause via DevTools

Fixes #5493

@rekram1-node

Copy link
Copy Markdown
Collaborator

/review

@github-actions

Copy link
Copy Markdown
Contributor

lgtm

@rekram1-node
rekram1-node merged commit 210b3e9 into anomalyco:dev Dec 14, 2025
3 checks passed
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
androidand pushed a commit to androidand/opencode-skein that referenced this pull request Sep 19, 2026
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.

The Share page is completely empty, and /unshare does nothing

2 participants