MCPcopy Index your code
hub / github.com/caseywebdev/react-list / commitHostUpdate

Function commitHostUpdate

docs/index.js:11134–11142  ·  view source on GitHub ↗
(finishedWork, newProps, oldProps)

Source from the content-addressed store, hash-verified

11132 }
11133}
11134function commitHostUpdate(finishedWork, newProps, oldProps) {
11135 try {
11136 var domElement = finishedWork.stateNode;
11137 updateProperties(domElement, finishedWork.type, oldProps, newProps);
11138 domElement[internalPropsKey] = newProps;
11139 } catch (error) {
11140 captureCommitPhaseError(finishedWork, finishedWork.return, error);
11141 }
11142}
11143function isHostParent(fiber) {
11144 return (
11145 5 === fiber.tag ||

Callers 1

Calls 3

updatePropertiesFunction · 0.85
captureCommitPhaseErrorFunction · 0.85
runWithFiberInDEVFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…