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

Function assertIsMounted

code/redux/public/app.js:5417–5419  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

5415}
5416
5417function assertIsMounted(fiber) {
5418 !(isFiberMountedImpl(fiber) === MOUNTED) ? invariant(false, 'Unable to find node on an unmounted component.') : void 0;
5419}
5420
5421function findCurrentFiberUsingSlowPath(fiber) {
5422 var alternate = fiber.alternate;

Callers 1

Calls 2

isFiberMountedImplFunction · 0.70
invariantFunction · 0.70

Tested by

no test coverage detected