MCPcopy
hub / github.com/facebook/react / pushNode

Function pushNode

packages/react-server/src/ReactFizzNewContext.js:49–55  ·  view source on GitHub ↗
(next: ContextNode<any>)

Source from the content-addressed store, hash-verified

47}
48
49function pushNode(next: ContextNode<any>): void {
50 if (isPrimaryRenderer) {
51 next.context._currentValue = next.value;
52 } else {
53 next.context._currentValue2 = next.value;
54 }
55}
56
57function popToNearestCommonAncestor(
58 prev: ContextNode<any>,

Callers 3

pushAllNextFunction · 0.85
popNextToCommonLevelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected