响应本机开发错误命中网络请求catch()

时间:2016-07-19 02:00:41

标签: reactjs react-native fetch

我将保持这个相对较高的水平,因为我似乎无法在演示应用程序中重新创建它...但我在iOS上的React Native中遇到了最奇怪的问题。

当在开发模式下执行React Native代码期间抛出错误时,它会被过去完成的旧catch()请求中的随机fetch块捕获。此获取块具有.done()并终止。

这会导致一系列非常奇怪的错误:

1st:ExceptionsManager.js:70 Warning: There is an internal error in the React performance measurement code. Did not expect componentDidUpdate timer to start while render timer is still in progress for another instance.

第二名:ExceptionsManager.js:55 Cannot read property 'getHostNode' of null

第3名:ExceptionsManager.js:70 Unhandled JS Exception: Cannot read property 'getHostNode' of null

0 个答案:

没有答案