6

I use this short example snippet in my code

<BootstrapTable data={products}>
  <TableHeaderColumn dataField="id" isKey={true}>Product ID</TableHeaderColumn>
  <TableHeaderColumn dataField="name">Product Name</TableHeaderColumn>
  <TableHeaderColumn dataField="price">Product Price</TableHeaderColumn>
</BootstrapTable>

And everything's work perfect. There's table, there's data. But (!) I see next warning message in my Chrome console:

enter image description here

whereas if I use my own elements, there's no warnings..
What's wrong? How to fix it?

olegzhermal
  • 799
  • 10
  • 26
  • 1
    Checkout this answer: http://stackoverflow.com/questions/39709113/components-children-should-not-be-mutated – Dan Andersson Nov 02 '16 at 09:57
  • If you won't figure it our please create a working demo which reproduces this issue, the code you've included here is incomplete. – biphobe Jan 16 '17 at 09:46

0 Answers0