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

Function shouldError

packages/react-reconciler/src/ReactFiberReconciler.js:586–588  ·  view source on GitHub ↗
(fiber: Fiber)

Source from the content-addressed store, hash-verified

584let shouldErrorImpl: Fiber => ?boolean = fiber => null;
585
586export function shouldError(fiber: Fiber): ?boolean {
587 return shouldErrorImpl(fiber);
588}
589
590let shouldSuspendImpl = (fiber: Fiber) => false;
591

Callers 1

updateClassComponentFunction · 0.90

Calls 1

shouldErrorImplFunction · 0.85

Tested by

no test coverage detected