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

Function updateHostText

code/higher-order-components/public/app.js:10069–10078  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

10067 }
10068
10069 function updateHostText(current, workInProgress) {
10070 if (current === null) {
10071 tryToClaimNextHydratableInstance(workInProgress);
10072 }
10073 var nextProps = workInProgress.pendingProps;
10074 memoizeProps(workInProgress, nextProps);
10075 // Nothing to do here. This is terminal. We'll do the completion step
10076 // immediately after.
10077 return null;
10078 }
10079
10080 function mountIndeterminateComponent(current, workInProgress, renderExpirationTime) {
10081 !(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