MCPcopy Index your code
hub / github.com/nodegui/react-nodegui / commitUpdate

Method commitUpdate

src/components/Text/index.ts:38–46  ·  view source on GitHub ↗
(
    instance: RNText,
    updatePayload: any,
    oldProps: TextProps,
    newProps: TextProps,
    finishedWork: Fiber
  )

Source from the content-addressed store, hash-verified

36 return true;
37 }
38 commitUpdate(
39 instance: RNText,
40 updatePayload: any,
41 oldProps: TextProps,
42 newProps: TextProps,
43 finishedWork: Fiber
44 ): void {
45 instance.setProps(newProps, oldProps);
46 }
47}
48
49export const Text = registerComponent<TextProps>(new TextConfig());

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.45

Tested by

no test coverage detected