MCPcopy Create free account
hub / github.com/reactjs/react-rails / commitUpdate

Function commitUpdate

lib/assets/react-source/development/react.js:11243–11249  ·  view source on GitHub ↗
(domElement, updatePayload, type, oldProps, newProps, internalInstanceHandle)

Source from the content-addressed store, hash-verified

11241 }
11242 }
11243 function commitUpdate(domElement, updatePayload, type, oldProps, newProps, internalInstanceHandle) {
11244 // Update the props handle so that we know which props are the ones with
11245 // with current event handlers.
11246 updateFiberProps(domElement, newProps); // Apply the diff to the DOM node.
11247
11248 updateProperties(domElement, updatePayload, type, oldProps, newProps);
11249 }
11250 function resetTextContent(domElement) {
11251 setTextContent(domElement, '');
11252 }

Callers 1

commitWorkFunction · 0.85

Calls 2

updateFiberPropsFunction · 0.85
updatePropertiesFunction · 0.85

Tested by

no test coverage detected