首页 > 代码库 > There is an internal error in the React performance measurement code.Did not expect componentDidMount timer to start while render timer is still in progress for another instance

There is an internal error in the React performance measurement code.Did not expect componentDidMount timer to start while render timer is still in progress for another instance

一、There is an internal error in the React performance measurement code.Did not expect componentDidMount timer to start while render timer is still in progress for another instance

技术分享

 

二、_this3._toDetail is not a function.(In ‘this3._toDetail()’,’_this3._toDetail’ is undefined)

技术分享

 

引起错误的写法:

技术分享

技术分享

运行正常的写法:

技术分享

技术分享

 

There is an internal error in the React performance measurement code.Did not expect componentDidMount timer to start while render timer is still in progress for another instance