MCPcopy Index your code
hub / github.com/react/react / workLoopSync

Function workLoopSync

packages/react-reconciler/src/ReactFiberWorkLoop.js:2681–2686  ·  view source on GitHub ↗

@noinline

()

Source from the content-addressed store, hash-verified

2679// The work loop is an extremely hot path. Tell Closure not to inline it.
2680/** @noinline */
2681function workLoopSync() {
2682 // Perform work without checking if we need to yield between fiber.
2683 while (workInProgress !== null) {
2684 performUnitOfWork(workInProgress);
2685 }
2686}
2687
2688function renderRootConcurrent(root: FiberRoot, lanes: Lanes): RootExitStatus {
2689 const prevExecutionContext = executionContext;

Callers 2

renderRootSyncFunction · 0.85
renderRootConcurrentFunction · 0.85

Calls 1

performUnitOfWorkFunction · 0.85

Tested by

no test coverage detected