1. 程式人生 > >Objects are not valid as a React child (found: object with keys {status, data, operationId, correlat

Objects are not valid as a React child (found: object with keys {status, data, operationId, correlat

Objects are not valid as a React child (found: object with keys {status, data, operationId, correlationId}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons. Check the render method ofexports.

 

錯誤原因:
1.children不是陣列

2.children是object

3.把child當做object使用