MCPcopy
hub / github.com/facebook/react / markRenderStarted

Function markRenderStarted

packages/react-reconciler/src/ReactFiberDevToolsHook.js:431–440  ·  view source on GitHub ↗
(lanes: Lanes)

Source from the content-addressed store, hash-verified

429}
430
431export function markRenderStarted(lanes: Lanes): void {
432 if (enableSchedulingProfiler) {
433 if (
434 injectedProfilingHooks !== null &&
435 typeof injectedProfilingHooks.markRenderStarted === 'function'
436 ) {
437 injectedProfilingHooks.markRenderStarted(lanes);
438 }
439 }
440}
441
442export function markRenderYielded(): void {
443 if (enableSchedulingProfiler) {

Callers 2

renderRootSyncFunction · 0.90
renderRootConcurrentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected