MCPcopy
hub / github.com/facebook/react / lazyLegacyRoot.js

File lazyLegacyRoot.js

fixtures/nesting/src/modern/lazyLegacyRoot.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import React from 'react';
2import {useContext, useMemo, useRef, useState, useLayoutEffect} from 'react';
3import {__RouterContext} from 'react-router';
4import {ReactReduxContext} from 'react-redux';

Callers

nothing calls this directly

Calls 8

useRefFunction · 0.90
useContextFunction · 0.90
useMemoFunction · 0.90
useLayoutEffectFunction · 0.90
readModuleFunction · 0.85
renderMethod · 0.65
thenMethod · 0.65
createLegacyRootFunction · 0.50

Tested by

no test coverage detected