MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / assertIsMounted

Function assertIsMounted

code/new-context-api/public/app.js:4527–4529  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

4525}
4526
4527function assertIsMounted(fiber) {
4528 !(isFiberMountedImpl(fiber) === MOUNTED) ? invariant(false, 'Unable to find node on an unmounted component.') : void 0;
4529}
4530
4531function findCurrentFiberUsingSlowPath(fiber) {
4532 var alternate = fiber.alternate;

Callers 1

Calls 2

isFiberMountedImplFunction · 0.70
invariantFunction · 0.70

Tested by

no test coverage detected