MCPcopy Create free account
hub / github.com/clayrisser/create-react-renderer / commitTextUpdate

Function commitTextUpdate

phaseH/src/reconciler.ts:107–114  ·  view source on GitHub ↗
(
    _textInstance: TextInstance,
    _oldText: string,
    _newText: string
  )

Source from the content-addressed store, hash-verified

105
106 resetAfterCommit(_containerInfo: Container): void {
107 log.debug("resetAfterCommit");
108 },
109
110 resetTextContent(_instance: Instance): void {
111 log.debug("resetTextContent");
112 // noop because this renderer does not rerender
113 },
114
115 commitTextUpdate(_textInstance: TextInstance, _oldText: string, _newText: string): void {
116 log.debug("commitTextUpdate");
117 throw new Error("commitTextUpdate should not be called");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected