Partage
  • Partager sur Facebook
  • Partager sur Twitter

React Js

Array in the DOM

    16 septembre 2018 à 16:10:56

    Hello everyone

    I have this error wehen i render my app in my JSX

    Objects are not valid as a React child (found: object with keys {color}). If you meant to render a collection of children, use an array instead. in button (at ProductRow.js:20) in td (at ProductRow.js:19) in tr (at ProductRow.js:10) in ProductRow (at ProductTable.js:16) in tbody (at ProductTable.js:30) in table (at ProductTable.js:22) in div (at ProductTable.js:21) in ProductTable (at Products.js:30) in div (at Products.js:26) in Products (at App.js:18)

     Thanks for your help.

    • Partager sur Facebook
    • Partager sur Twitter

    React Js

    × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
    × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
    • Editeur
    • Markdown