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

Function markCommitStarted

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

Source from the content-addressed store, hash-verified

215}
216
217export function markCommitStarted(lanes: Lanes): void {
218 if (enableSchedulingProfiler) {
219 if (
220 injectedProfilingHooks !== null &&
221 typeof injectedProfilingHooks.markCommitStarted === 'function'
222 ) {
223 injectedProfilingHooks.markCommitStarted(lanes);
224 }
225 }
226}
227
228export function markCommitStopped(): void {
229 if (enableSchedulingProfiler) {

Callers 1

commitRootFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected