This is a typical reaction, but I don’t know how to handle it. I just want my table rows dynamically, but I get an error: "" Unacceptable error: invariant violation: processUpdates (): cannot find child 2. This probably means that the DOM unexpectedly mutated (like a browser), usually due to forgetting when using tables, nested tags such as
or, or using non-SVG elements in the parent. Try checking the child nodes of the element with the React ID .2.1.0. "
I understand that the reaction does not find the right DOM material, but how to deal with it? Thanks in advance!
<div className="panel-body" style={panelstyle}>
<Table striped bordered condensed hover>
<thread>
<th> Currency </th>
<th> Amount </th>
<th> Issuer </th>
<th> Limit </th>
<th> Limit Peer </th>
<th> No-Ripple </th>
</thread>
<tbody>
{this.state.ripplelines[this.address] ?
this.state.ripplelines[this.address].lines.map(function(line,i) {
return (<tr>
<td> USD </td>
<td> 1500 </td>
<td> raazdazdizrjazirazrkaẑrkazrâkrp </td>
<td> 1000000000 </td>
<td> 0 </td>
<td> True </td>
</tr>)
;
})
: ""}
</tbody>
</Table>
</div>
source
share