MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / updateHostText

Function updateHostText

code/new-context-api/public/app.js:9436–9445  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

9434 }
9435
9436 function updateHostText(current, workInProgress) {
9437 if (current === null) {
9438 tryToClaimNextHydratableInstance(workInProgress);
9439 }
9440 var nextProps = workInProgress.pendingProps;
9441 memoizeProps(workInProgress, nextProps);
9442 // Nothing to do here. This is terminal. We'll do the completion step
9443 // immediately after.
9444 return null;
9445 }
9446
9447 function mountIndeterminateComponent(current, workInProgress, renderExpirationTime) {
9448 !(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