l3montree-dev / l3montree-dev/devguard

Registration page crashes with "Cannot read properties of null (reading 'parentNode')" after hydration mismatch

Open
#2,749 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
161
Forks
43
Avg merge
1d 8h
Merged PRs (30d)
37

Description

Error

TypeError: Cannot read properties of null (reading 'parentNode')

Stack trace

$RS (app:///registration?flow=76206bf1-1557-4d0e-b47d-f1d3c6ad3244:1:47576)
  ← ? (app:///registration?flow=76206bf1-1557-4d0e-b47d-f1d3c6ad3244:1:47645)

(Minified inline script; $RS is React's internal Suspense-boundary stream-resume helper — no further source context available.)

Request context

  • URL: https://main.devguard.org/registration?flow=76206bf1-1557-4d0e-b47d-f1d3c6ad3244
  • Culprit route: /registration
  • Referer: https://main.devguard.org/login?flow=22921e4d-0cc2-4978-b5d4-a33520ea50f1
  • A breadcrumb shows React error #418 (hydration mismatch) fired ~4ms before this error on the same page load — same recurring hydration issue seen in issue 3305, 3368, 3370, and 3379 — now confirmed on a 5th route. This parentNode TypeError looks like a downstream failure in React's Suspense stream-resume ($RS) triggered once hydration has already failed, rather than an independent bug.

GlitchTip

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the /registration route and compare its hydration behavior with the recurring reports in issues 3305, 3368, 3370, and 3379. Reproduce the flow using the provided registration URL and confirm that React error #418 and the downstream parentNode crash no longer occur after the hydration issue is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.