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

Method commitUpdate

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.45

Tested by

no test coverage detected