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

Function updateHostText

code/one-direction-data-flow/public/app.js:9948–9957  ·  view source on GitHub ↗
(current, workInProgress)

Source from the content-addressed store, hash-verified

9946 }
9947
9948 function updateHostText(current, workInProgress) {
9949 if (current === null) {
9950 tryToClaimNextHydratableInstance(workInProgress);
9951 }
9952 var nextProps = workInProgress.pendingProps;
9953 memoizeProps(workInProgress, nextProps);
9954 // Nothing to do here. This is terminal. We'll do the completion step
9955 // immediately after.
9956 return null;
9957 }
9958
9959 function mountIndeterminateComponent(current, workInProgress, renderExpirationTime) {
9960 !(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