MCPcopy
hub / github.com/facebook/react / commitTextUpdate

Function commitTextUpdate

packages/react-noop-renderer/src/createReactNoop.js:764–771  ·  view source on GitHub ↗
(
          textInstance: TextInstance,
          oldText: string,
          newText: string,
        )

Source from the content-addressed store, hash-verified

762 },
763
764 commitTextUpdate(
765 textInstance: TextInstance,
766 oldText: string,
767 newText: string,
768 ): void {
769 hostUpdateCounter++;
770 textInstance.text = computeText(newText, textInstance.context);
771 },
772
773 appendChild,
774 appendChildToContainer,

Callers

nothing calls this directly

Calls 1

computeTextFunction · 0.85

Tested by

no test coverage detected