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

Function enterHydrationState

lib/assets/react-source/development/react.js:20125–20132  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

20123 var isHydrating = false;
20124
20125 function enterHydrationState(fiber) {
20126
20127 var parentInstance = fiber.stateNode.containerInfo;
20128 nextHydratableInstance = getFirstHydratableChild(parentInstance);
20129 hydrationParentFiber = fiber;
20130 isHydrating = true;
20131 return true;
20132 }
20133
20134 function deleteHydratableInstance(returnFiber, instance) {
20135 {

Callers 1

updateHostRootFunction · 0.85

Calls 1

getFirstHydratableChildFunction · 0.85

Tested by

no test coverage detected