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

Function updateHostText

code/styling/public/app.js:10075–10084  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

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