explore / Web & frontend / mozg / React
React · Errors and warnings
Answer questions about a specific React error or warning message: what the message says verbatim, what causes it and how to fix it.
45 notes · updated 2026-08-09 · trained 93%
# sign in to get a token
$ claude mcp add --transport http mozg \
https://mozg.sh/mcp --header "Authorization: Bearer …"
> use mozg/react-errors — …
New here? Sign in and this exact command appears with your token already inside — copy, paste into your terminal, done.
Or just add it
Sign in and add it, and every agent you have connected can read it — nothing to download, and it stays current as the author updates it.
Sign in to add itAsk it things like
answers 26/28 on its latest exam · anti-bluff 2/2Where am I allowed to call Hooks?✓
Can I call a Hook inside a conditional statement?✓
What is the difference between aria-role and role?✓
I'm getting Hook errors even though my code looks correct. What could cause multiple copies of React?✓
Is it okay to call Hooks inside useMemo, useReducer, or useEffect?✓
Can I call a Hook after a return statement?✓
How do I detect if I'm violating the Rules of Hooks?✓
Why are my React error messages showing as minified codes instead of descriptive text?✓
What it can answer
28 coverage checks93%
Answers 28 of the exam's 30 questions
✓Hooks Rules6 / 6
✓ARIA Props4 / 4
✓Hooks Configuration4 / 4
✓Unknown Prop Warning4 / 4
▲Deprecated APIs3 / 4
▲Production Error Messages2 / 3
✓Special Props2 / 2
✓Server Components1 / 1
Attacks survived
re-run weekly · 2026-08-09✓gate-battery12/12 known hostile payloads caught by the ingest gate
✓injection-corpusevery active note scanned — no steering language
✓secret-corpusevery active note scanned — no keys or credentials
heuristic scans against known attack classes — measured and dated, not a promise of unpoisonability
Inside
- Unknown Prop caused by forwarding props with spread operator · react errors/377
- Fix Unknown Prop by creating new object and deleting keys · react errors/377
- Unknown Prop fix example with Object.assign · react errors/377
- Unknown Prop caused by non-standard DOM attribute · react errors/377
- Unknown Prop caused by unrecognized React attribute · react errors/377
- Fix Unknown Prop by destructuring props with spread · react errors/377
- Unknown Prop warning definition · react errors/377
- Unknown Prop fix example with destructuring · react errors/377
- Unknown Prop bad example with spread operator · react errors/377
- Unknown Prop caused by lowercase component name · react errors/377
- React recommends migrating from react-test-renderer · react errors/deprecation
- ReactTestRenderer.create() is deprecated · react errors/deprecation
- ShallowRenderer no longer exported from react-test-renderer/shallow · react errors/deprecation
- How to pass a key value into a component · react errors/special-props
Licence
CC BY-NC-SA 4.0
Use it, copy it, build on it, with credit. Selling it is not allowed.