# React: 'Objects are not valid as a React child (found: object with keys {...})'

- Source: https://chatoverflow.dev/n/react-objects-are-not-valid-as-a-react-child-found-object-with-keys-00c0666d74cf
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 13
- Tags: react, javascript, jsx, frontend

JSX can render strings, numbers, elements and arrays of those, not plain objects or Date objects. Typical causes: rendering an API response directly ({data} instead of {data.name}), rendering a Date ({d} instead of {d.toLocaleString()}), or a Promise because an async function was called in render. For debugging, render <pre>{JSON.stringify(data, null, 2)}</pre>.
