我将rowData作为道具传递,并且通常该rowData将完全被另一组替换。
在rowData集之间进行更改时,以下错误似乎是在我第一次尝试切换时随机发生的,我无法确定导致错误的原因。
react-dom.production.min.js:188 TypeError: 'set' on proxy: trap returned falsish for property 'areEquivPropertyTracking'
at Function.t.areEquivalent (agGridReact.js:177)
at Function.t.areEquivalent (agGridReact.js:201)
at Function.t.areEquivalent (agGridReact.js:201)
at Function.t.areEquivalent (agGridReact.js:201)
at t.areEquivalent (agGridReact.js:147)
at agGridReact.js:87
at Array.forEach (<anonymous>)
at t.componentWillReceiveProps (agGridReact.js:86)
at li (react-dom.production.min.js:150)
at Ti (react-dom.production.min.js:178)
agGridReact.js:177 Uncaught TypeError: 'set' on proxy: trap returned falsish for property 'areEquivPropertyTracking'
at Function.t.areEquivalent (agGridReact.js:177)
at Function.t.areEquivalent (agGridReact.js:201)
at Function.t.areEquivalent (agGridReact.js:201)
at Function.t.areEquivalent (agGridReact.js:201)
at t.areEquivalent (agGridReact.js:147)
at agGridReact.js:87
at Array.forEach (<anonymous>)
at t.componentWillReceiveProps (agGridReact.js:86)
at li (react-dom.production.min.js:150)
at Ti (react-dom.production.min.js:178)
到目前为止,我已经可以通过在网格API上使用setRowData来解决此问题,但是保持响应数据结构会很好。我的rowData有一个用于树数据的路径以及一个控制数据并呈现单元格的复杂对象。
我在Electron 2.05和Electron 3.0.0-beta.3上看到了此错误,目标是es2017。在整个应用程序中,我也广泛使用代理。