MCPcopy Create free account
hub / github.com/reactjs/react-rails / push

Function push

lib/assets/react-source/development/react.js:3041–3045  ·  view source on GitHub ↗
(heap, node)

Source from the content-addressed store, hash-verified

3039 }
3040
3041 function push(heap, node) {
3042 var index = heap.length;
3043 heap.push(node);
3044 siftUp(heap, node, index);
3045 }
3046 function peek(heap) {
3047 var first = heap[0];
3048 return first === undefined ? null : first;

Callers 9

advanceTimersFunction · 0.70
pushContextProviderFunction · 0.70
pushProviderFunction · 0.70
pushHostContainerFunction · 0.70
pushHostContextFunction · 0.70
pushSuspenseContextFunction · 0.70

Calls 1

siftUpFunction · 0.85

Tested by

no test coverage detected