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

Method commitUpdate

src/components/MenuBar/index.ts:31–39  ·  view source on GitHub ↗
(
    instance: RNMenuBar,
    updatePayload: any,
    oldProps: MenuBarProps,
    newProps: MenuBarProps,
    finishedWork: Fiber
  )

Source from the content-addressed store, hash-verified

29 return;
30 }
31 commitUpdate(
32 instance: RNMenuBar,
33 updatePayload: any,
34 oldProps: MenuBarProps,
35 newProps: MenuBarProps,
36 finishedWork: Fiber
37 ): void {
38 instance.setProps(newProps, oldProps);
39 }
40}
41
42export const MenuBar = registerComponent<MenuBarProps>(new MenuBarConfig());

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.45

Tested by

no test coverage detected