Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/facebook/react
/ getActiveContext
Function
getActiveContext
packages/react-server/src/ReactFizzNewContext.js:282–284 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
280
}
281
282
export
function
getActiveContext(): ContextSnapshot {
283
return
currentActiveSnapshot;
284
}
285
286
export
function
readContext<T>(context: ReactContext<T>): T {
287
const
value = isPrimaryRenderer
Callers
1
performWork
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected