MCPcopy Create free account
hub / github.com/danielstocks/react-sortable / prepareToHydrateHostTextInstance

Function prepareToHydrateHostTextInstance

bundle.js:7649–7649  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

7647fiber.updateQueue=updatePayload;// If the update payload indicates that there is a change or if there
7648// is a new ref we mark this as an update.
7649if(updatePayload!==null){return true;}return false;}function prepareToHydrateHostTextInstance(fiber){var textInstance=fiber.stateNode;var shouldUpdate=hydrateTextInstance(textInstance,fiber.memoizedProps,fiber);return shouldUpdate;}function popToNextHostParent(fiber){var parent=fiber['return'];while(parent!==null&&parent.tag!==HostComponent$10&&parent.tag!==HostRoot$10){parent=parent['return'];}hydrationParentFiber=parent;}function popHydrationState(fiber){if(fiber!==hydrationParentFiber){// We're deeper than the current hydration context, inside an inserted
7650// tree.
7651return false;}if(!isHydrating){// If we're not currently hydrating but we're in a hydration context, then
7652// we were an insertion and now need to pop up reenter hydration of our

Callers 1

completeWorkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected