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

Method commitUpdate

src/components/ComboBox/index.ts:39–47  ·  view source on GitHub ↗
(
    instance: RNComboBox,
    updatePayload: any,
    oldProps: ComboBoxProps,
    newProps: ComboBoxProps,
    finishedWork: Fiber
  )

Source from the content-addressed store, hash-verified

37 return;
38 }
39 commitUpdate(
40 instance: RNComboBox,
41 updatePayload: any,
42 oldProps: ComboBoxProps,
43 newProps: ComboBoxProps,
44 finishedWork: Fiber
45 ): void {
46 instance.setProps(newProps, oldProps);
47 }
48}
49
50export const ComboBox = registerComponent<ComboBoxProps>(new ComboBoxConfig());

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.45

Tested by

no test coverage detected