MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / updateHostText

Function updateHostText

code/event-handlers/public/app.js:9405–9414  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

9403 }
9404
9405 function updateHostText(current, workInProgress) {
9406 if (current === null) {
9407 tryToClaimNextHydratableInstance(workInProgress);
9408 }
9409 var nextProps = workInProgress.pendingProps;
9410 memoizeProps(workInProgress, nextProps);
9411 // Nothing to do here. This is terminal. We'll do the completion step
9412 // immediately after.
9413 return null;
9414 }
9415
9416 function mountIndeterminateComponent(current, workInProgress, renderExpirationTime) {
9417 !(current === null) ? invariant(false, 'An indeterminate component should never have mounted. This error is likely caused by a bug in React. Please file an issue.') : void 0;

Callers 2

beginWorkFunction · 0.70
completeWorkFunction · 0.70

Calls 2

memoizePropsFunction · 0.70

Tested by

no test coverage detected