MCPcopy
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
282export function getActiveContext(): ContextSnapshot {
283 return currentActiveSnapshot;
284}
285
286export function readContext<T>(context: ReactContext<T>): T {
287 const value = isPrimaryRenderer

Callers 1

performWorkFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected