Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/facebook/react
/ useWithLog
Function
useWithLog
packages/react-reconciler/src/__tests__/useMemoCache-test.js:399–406 ·
view source on GitHub ↗
(t, msg)
Source
from the content-addressed store, hash-verified
397
}
398
399
function
useWithLog(t, msg) {
400
try {
401
return
React.use(t);
402
} catch (x) {
403
Scheduler.log(`Suspend! [${msg}]`);
404
throw x;
405
}
406
}
407
408
// Original code:
409
//
Callers
1
Data
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected