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

Function finishSyncRender

lib/assets/react-source/development/react.js:25499–25503  ·  view source on GitHub ↗
(root)

Source from the content-addressed store, hash-verified

25497 }
25498
25499 function finishSyncRender(root) {
25500 // Set this to null to indicate there's no in-progress render.
25501 workInProgressRoot = null;
25502 commitRoot(root);
25503 }
25504 function flushDiscreteUpdates() {
25505 // TODO: Should be able to flush inside batchedUpdates, but not inside `act`.
25506 // However, `act` uses `batchedUpdates`, so there's no way to distinguish

Callers 1

performSyncWorkOnRootFunction · 0.85

Calls 1

commitRootFunction · 0.85

Tested by

no test coverage detected