RMD035 — The client's hook tree does not match the server's
State is restored by position, so both sides have to build the same hooks in the same order. A
this.use() behind a condition — if (isServer), a feature flag, a branch on props — makes the
counts differ, and the state after it lands on the wrong hook or nowhere at all.
Call every this.use() unconditionally, at the top of the class. A hook that should do nothing is
still a hook that exists; give it options that make it idle rather than skipping it.
Next
- All diagnostics — every code the framework can report.
- Checking your app — the faults proved from the source, before anything runs.