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

Method commitUpdate

src/components/List/index.ts:22–24  ·  view source on GitHub ↗
(instance: RNList, updatePayload: any, oldProps: ListProps, newProps: ListProps, finishedWork: Fiber)

Source from the content-addressed store, hash-verified

20 return;
21 }
22 commitUpdate(instance: RNList, updatePayload: any, oldProps: ListProps, newProps: ListProps, finishedWork: Fiber): void {
23 instance.setProps(newProps, oldProps);
24 }
25}
26/**
27 * React implementation of nodegui's [QListWidget](https://docs.nodegui.org/docs/api/generated/classes/qlistwidget/)

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.45

Tested by

no test coverage detected