我正在关注此示例https://codesandbox.io/s/little-star-yq2h8
使用状态。现在,我使用hooks
但收到此错误
validateDOMNesting(...): <td> cannot appear as a child of <div>.
in td (at editable-cell.js:34)
in div (at editable-cell.js:56)
in EditableCell (created by TableCell)
in TableCell (created by TableRow)
in tr (created by BodyRow)
in BodyRow (created by TableRow)
in TableRow (created by Connect(TableRow))
in Connect(TableRow) (created by ExpandableRow)
in ExpandableRow (created by Conne
并且行视图没有反映出为什么? 这是我的代码 https://codesandbox.io/s/reverent-burnell-l504y
const PmViewList = () => {
return (
<Fragment>
<EditableFormTable />
</Fragment>
);
};