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

Method commitUpdate

src/components/LineEdit/index.ts:30–38  ·  view source on GitHub ↗
(
    instance: RNLineEdit,
    updatePayload: any,
    oldProps: LineEditProps,
    newProps: LineEditProps,
    finishedWork: Fiber
  )

Source from the content-addressed store, hash-verified

28 return;
29 }
30 commitUpdate(
31 instance: RNLineEdit,
32 updatePayload: any,
33 oldProps: LineEditProps,
34 newProps: LineEditProps,
35 finishedWork: Fiber
36 ): void {
37 instance.setProps(newProps, oldProps);
38 }
39}
40
41export const LineEdit = registerComponent<LineEditProps>(new LineEditConfig());

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.45

Tested by

no test coverage detected