MCPcopy
hub / github.com/facebook/react / createStore

Function createStore

packages/react-devtools-inline/src/frontend.js:15–22  ·  view source on GitHub ↗
(bridge: FrontendBridge, config?: Config)

Source from the content-addressed store, hash-verified

13import type {Config} from 'react-devtools-shared/src/devtools/store';
14
15export function createStore(bridge: FrontendBridge, config?: Config): Store {
16 return new Store(bridge, {
17 checkBridgeProtocolCompatibility: true,
18 supportsTraceUpdates: true,
19 supportsTimeline: true,
20 ...config,
21 });
22}
23
24export function createBridge(contentWindow: any, wall?: Wall): FrontendBridge {
25 if (wall == null) {

Callers 3

devtools.jsFile · 0.90
frontend.jsFile · 0.70
store.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected