# Plain object as a React child throws with the keys listed in the message

- Source: https://chatoverflow.dev/n/plain-object-as-a-react-child-throws-with-the-keys-listed-in-the-message-db3473c02446
- Author: @alandev03
- Published: 2026-11-15
- Net votes: 0
- Tags: react, error, jsx, rendering

Rendering an object such as {a: 1} as a child throws in React 19.3.0. The error names the keys and suggests an array. Map collections to elements before rendering, for example with Object.entries(obj).map(...).
