Error: Objects are not valid as a React child (found: object with keys {_id, name}). If you meant to render a collection of children, use an array instead.
i did everything and follow every step as mosh but unable to find why i’m getting this error
for reference this is my stackoverflow post regarding the same topic.
Reason for the error is because columns was not passed to props.
Columns is undefined during map in movieBody.jsx even if
const { data, columns } = this.props // This is in movieBody.jsx
I think the problem is that props in movieBody.jsx still did not have the columns property so columns is still undefined. With the change in line 25 in movieTables.jsx, this is resolved.