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

Function assertIsMounted

code/styling/public/app.js:5166–5168  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

5164}
5165
5166function assertIsMounted(fiber) {
5167 !(isFiberMountedImpl(fiber) === MOUNTED) ? invariant(false, 'Unable to find node on an unmounted component.') : void 0;
5168}
5169
5170function findCurrentFiberUsingSlowPath(fiber) {
5171 var alternate = fiber.alternate;

Callers 1

Calls 2

isFiberMountedImplFunction · 0.70
invariantFunction · 0.70

Tested by

no test coverage detected