We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f7a901 commit 65f3503Copy full SHA for 65f3503
packages/react-devtools-inline/src/frontend.js
@@ -18,15 +18,18 @@ import type {FrontendBridge} from 'react-devtools-shared/src/bridge';
18
import type {Props} from 'react-devtools-shared/src/devtools/views/DevTools';
19
20
type Config = {|
21
+ checkBridgeProtocolCompatibility?: boolean,
22
supportsNativeInspection?: boolean,
23
+ supportsProfiling?: boolean,
24
|};
25
26
export function createStore(bridge: FrontendBridge, config?: Config): Store {
27
return new Store(bridge, {
28
checkBridgeProtocolCompatibility: true,
29
supportsTraceUpdates: true,
30
supportsTimeline: true,
- supportsNativeInspection: config?.supportsNativeInspection !== false,
31
+ supportsNativeInspection: true,
32
+ ...config,
33
});
34
}
35
0 commit comments