我收到以下错误,并且错误日志中没有任何内容可以帮助我定位或检测错误的出处。
Uncaught TypeError: Cannot read property 'displayName' of null
at getDisplayName (VM12922 backend.js:9159)
at getDataFiber (VM12922 backend.js:9888)
at enqueueMount (VM12922 backend.js:10158)
at mountFiber (VM12922 backend.js:10246)
at VM12922 backend.js:10306
at Set.forEach (<anonymous>)
at Object.walkTree (VM12922 backend.js:10304)
at VM12922 backend.js:8534
at <anonymous>:52:32
at Array.map (<anonymous>)
at Object.emit (<anonymous>:51:66)
at setupBackend (VM12922 backend.js:8621)
at module.exports (VM12922 backend.js:8567)
at Agent.<anonymous> (VM12922 backend.js:116)
at Agent.g (VM12922 backend.js:981)
at Agent.EventEmitter.emit (VM12922 backend.js:894)
at VM12922 backend.js:302
at VM12922 backend.js:7619
at Array.forEach (<anonymous>)
at VM12922 backend.js:7618
at Array.forEach (<anonymous>)
at Bridge._handleMessage (VM12922 backend.js:7611)
at listener (VM12922 backend.js:92)
由于该错误,React devtools不会加载以查明该错误。
这是什么,我从哪里开始。我只有两个主要组件,即代码编译和渲染。 “ displayName”指的是什么?