MCPcopy Create free account
hub / github.com/microsoft/SandDance / getFirstHydratableChild

Function getFirstHydratableChild

docs/external/js/react-dom.development.js:7799–7801  ·  view source on GitHub ↗
(parentInstance)

Source from the content-addressed store, hash-verified

7797 return getNextHydratable(instance.nextSibling);
7798 }
7799 function getFirstHydratableChild(parentInstance) {
7800 return getNextHydratable(parentInstance.firstChild);
7801 }
7802 function hydrateInstance(instance, type, props, rootContainerInstance, hostContext, internalInstanceHandle) {
7803 precacheFiberNode(internalInstanceHandle, instance); // TODO: Possibly defer this until the commit phase where all the events
7804 // get attached.

Callers 2

enterHydrationStateFunction · 0.85

Calls 1

getNextHydratableFunction · 0.85

Tested by

no test coverage detected