我使用sentry.io进行错误跟踪。感谢反应生产模式,我遇到了一些莫名其妙的错误。真的,我试图找到此错误。
例如,我在此页面上未使用handleChange。
TypeError: Unable to get property 'length' of undefined or null reference
at _this._handleChange(eval code:33:7)
at handleChange(eval code:375:7)
at callCallback(eval code:362:9)
at sentryWrapped(eval code:83:13)
at invokeGuardedCallbackDev(eval code:411:7)
at invokeGuardedCallback(eval code:466:3)
at invokeGuardedCallbackAndCatchFirstError(eval code:480:3)
at executeDispatch(eval code:612:3)
at executeDispatchesInOrder(eval code:637:5)
at executeDispatchesAndRelease(eval code:743:5)
at executeDispatchesAndReleaseTopLevel(eval code:752:3)
at Array.prototype.forEach(native code)
at forEachAccumulated(eval code:722:5)
at runEventsInBatch(eval code:769:3)
at runExtractedPluginEventsInBatch(eval code:914:3)
at handleTopLevel(eval code:5848:5)
at batchedEventUpdates$1(eval code:24343:5)
at batchedEventUpdates(eval code:1463:5)
at dispatchEventForPluginEventSystem(eval code:5943:5)
at attemptToDispatchEvent(eval code:6059:5)
at dispatchEvent(eval code:5963:3)
at unstable_runWithPriority(eval code:815:5)
at runWithPriority$2(eval code:12188:3)
at discreteUpdates$1(eval code:24359:5)
at discreteUpdates(eval code:1486:5)
at dispatchDiscreteEvent(eval code:5926:3)
此错误的详细信息太全面了。
您可以在此页面上看到以详细说明此错误。 https://sentry.io/share/issue/c0e5f74f092a46a7bcac8487f74a8672/
那么,如何解决它们?谢谢。