MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / assertIsMounted

Function assertIsMounted

code/dependency-injection/public/app.js:5259–5261  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

5257}
5258
5259function assertIsMounted(fiber) {
5260 !(isFiberMountedImpl(fiber) === MOUNTED) ? invariant(false, 'Unable to find node on an unmounted component.') : void 0;
5261}
5262
5263function findCurrentFiberUsingSlowPath(fiber) {
5264 var alternate = fiber.alternate;

Callers 1

Calls 2

isFiberMountedImplFunction · 0.70
invariantFunction · 0.70

Tested by

no test coverage detected