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

Function getFirstHydratableChild

lib/assets/react-source/development/react.js:11371–11373  ·  view source on GitHub ↗
(parentInstance)

Source from the content-addressed store, hash-verified

11369 return getNextHydratable(instance.nextSibling);
11370 }
11371 function getFirstHydratableChild(parentInstance) {
11372 return getNextHydratable(parentInstance.firstChild);
11373 }
11374 function hydrateInstance(instance, type, props, rootContainerInstance, hostContext, internalInstanceHandle) {
11375 precacheFiberNode(internalInstanceHandle, instance); // TODO: Possibly defer this until the commit phase where all the events
11376 // get attached.

Callers 2

enterHydrationStateFunction · 0.85

Calls 1

getNextHydratableFunction · 0.85

Tested by

no test coverage detected