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

Method commitUpdate

src/components/Image/index.ts:35–43  ·  view source on GitHub ↗
(
    instance: RNImage,
    updatePayload: any,
    oldProps: ImageProps,
    newProps: ImageProps,
    finishedWork: Fiber
  )

Source from the content-addressed store, hash-verified

33 return;
34 }
35 commitUpdate(
36 instance: RNImage,
37 updatePayload: any,
38 oldProps: ImageProps,
39 newProps: ImageProps,
40 finishedWork: Fiber
41 ): void {
42 instance.setProps(newProps, oldProps);
43 }
44}
45
46export const Image = registerComponent<ImageProps>(new ImageConfig());

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.45

Tested by

no test coverage detected