Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/reactjs/react-rails
/ hasCaughtError
Function
hasCaughtError
lib/assets/react-source/development/react.js:4025–4027 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
4023
}
4024
}
4025
function
hasCaughtError() {
4026
return
hasError;
4027
}
4028
function
clearCaughtError() {
4029
if
(hasError) {
4030
var
error = caughtError;
Callers
6
safelyCallComponentWillUnmount
Function · 0.85
safelyDetachRef
Function · 0.85
safelyCallDestroy
Function · 0.85
commitRootImpl
Function · 0.85
flushPassiveEffectsImpl
Function · 0.85
react.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected