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

Function assertIsMounted

code/composition/public/app.js:5304–5306  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

5302}
5303
5304function assertIsMounted(fiber) {
5305 !(isFiberMountedImpl(fiber) === MOUNTED) ? invariant(false, 'Unable to find node on an unmounted component.') : void 0;
5306}
5307
5308function findCurrentFiberUsingSlowPath(fiber) {
5309 var alternate = fiber.alternate;

Callers 1

Calls 2

isFiberMountedImplFunction · 0.70
invariantFunction · 0.70

Tested by

no test coverage detected