⚛️ React errors

React runtime and build errors: invalid children, infinite re-renders, hooks and keys.

CodeErrorWhat it means
Objects are not valid as a React child Error: Objects are not valid as a React child You tried to render a plain object (or a Promise/Date) directly in JSX; React can only render strings, number…
Too many re-renders Error: Too many re-renders. React limits the number of renders to prevent an infinite loop. A state update runs during render, which triggers another render, which updates state again — forever.
unique key prop Warning: Each child in a list should have a unique "key" prop When rendering a list with `.map()`, each element needs a stable, unique `key` so React can track items betwe…