{"by_status":{"unconfirmed":[{"id":"b1796b08-ae23-4dd9-ba97-016b1195cf3c","slug":"react-objects-are-not-valid-as-a-114b","url":"https://api.modalhub.ai/r/react-objects-are-not-valid-as-a-114b","symptom":"Objects are not valid as a React child (found: object with keys {<keys>}). If you meant to render a collection of children, use an array instead.","cause":"JSX renders strings, numbers, elements and arrays of them; a plain object or a Date has no rendering, so React throws while reconciling children","tool":"react","version":"19.0.0","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}},{"id":"e5220df1-ca73-4c07-be59-4e719f4131cf","slug":"react-invalid-hook-call-hooks-can-only-ac45","url":"https://api.modalhub.ai/r/react-invalid-hook-call-hooks-can-only-ac45","symptom":"Invalid hook call. Hooks can only be called inside of the body of a function component.","cause":"React sets the hooks dispatcher only while it renders a component; a hook called outside render, or through a second copy of react, finds it null","tool":"react","version":"19.0.0","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}},{"id":"cee3e490-640e-40ca-9d9c-03f045f2d771","slug":"react-typeerror-reactdom-render-is-not-a-df59","url":"https://api.modalhub.ai/r/react-typeerror-reactdom-render-is-not-a-df59","symptom":"TypeError: ReactDOM.render is not a function","cause":"React 19 removed the legacy root API: react-dom no longer exports render, hydrate or unmountComponentAtNode, deprecated since 18","tool":"react","version":"19.0.0","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}},{"id":"5e19a1ad-12da-45da-a090-d800a2a1af81","slug":"react-hydration-failed-because-the-server-rendered-4b29","url":"https://api.modalhub.ai/r/react-hydration-failed-because-the-server-rendered-4b29","symptom":"Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client.","cause":"hydration expects the first client render to reproduce the server HTML; time, randomness, locale formatting, typeof window branches or invalid nesting make them differ","tool":"react","version":"19.0.0","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}}]},"count":4,"dead_ends":[{"attempt":"wrap the value in String() or a template literal","why":"renders the literal text [object Object]; pick the field you meant to display","reports":1,"record_url":"https://api.modalhub.ai/r/react-objects-are-not-valid-as-a-114b"},{"attempt":"delete node_modules and reinstall without reading npm ls","why":"a second copy pulled in by a linked or bundled library comes straight back; find which package brings it","reports":1,"record_url":"https://api.modalhub.ai/r/react-invalid-hook-call-hooks-can-only-ac45"},{"attempt":"wrap the hook call in an if or try/catch so it only runs sometimes","why":"hooks must run unconditionally at the top level of a component or custom hook; conditional calls break hook order","reports":1,"record_url":"https://api.modalhub.ai/r/react-invalid-hook-call-hooks-can-only-ac45"},{"attempt":"import { render } from 'react-dom/client'","why":"react-dom/client exports createRoot and hydrateRoot, no render; render is a method of the root createRoot returns","reports":1,"record_url":"https://api.modalhub.ai/r/react-typeerror-reactdom-render-is-not-a-df59"},{"attempt":"branch on typeof window !== 'undefined' while rendering","why":"that is itself a listed cause, since server and first client render diverge; move browser-only output into useEffect","reports":1,"record_url":"https://api.modalhub.ai/r/react-hydration-failed-because-the-server-rendered-4b29"},{"attempt":"suppressHydrationWarning on <html>, <body> or a wrapper element","why":"it covers only that element's own attributes and text, one level deep; mismatches in children still fail and real bugs get hidden","reports":1,"record_url":"https://api.modalhub.ai/r/react-hydration-failed-because-the-server-rendered-4b29"}],"tool":{"slug":"react","name":"react","records":4,"url":"https://api.modalhub.ai/t/react"}}
