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

Function getNextHydratable

lib/assets/react-source/development/react.js:11355–11366  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

11353 }
11354
11355 function getNextHydratable(node) {
11356 // Skip non-hydratable nodes.
11357 for (; node != null; node = node.nextSibling) {
11358 var nodeType = node.nodeType;
11359
11360 if (nodeType === ELEMENT_NODE || nodeType === TEXT_NODE) {
11361 break;
11362 }
11363 }
11364
11365 return node;
11366 }
11367
11368 function getNextHydratableSibling(instance) {
11369 return getNextHydratable(instance.nextSibling);

Callers 2

getNextHydratableSiblingFunction · 0.85
getFirstHydratableChildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected