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

Function assertIsMounted

code/controlled-uncontrolled/public/app.js:4490–4492  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

4488}
4489
4490function assertIsMounted(fiber) {
4491 !(isFiberMountedImpl(fiber) === MOUNTED) ? invariant(false, 'Unable to find node on an unmounted component.') : void 0;
4492}
4493
4494function findCurrentFiberUsingSlowPath(fiber) {
4495 var alternate = fiber.alternate;

Callers 1

Calls 2

isFiberMountedImplFunction · 0.70
invariantFunction · 0.70

Tested by

no test coverage detected