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

Function markRenderYielded

packages/react-reconciler/src/ReactFiberDevToolsHook.js:442–451  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

440}
441
442export function markRenderYielded(): void {
443 if (enableSchedulingProfiler) {
444 if (
445 injectedProfilingHooks !== null &&
446 typeof injectedProfilingHooks.markRenderYielded === 'function'
447 ) {
448 injectedProfilingHooks.markRenderYielded();
449 }
450 }
451}
452
453export function markRenderStopped(): void {
454 if (enableSchedulingProfiler) {

Callers 1

renderRootConcurrentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected