Skip to content

Commit 3341bb5

Browse files
huntiereact-native-bot
authored andcommitted
Enable RNDT standalone shell by default (#54754)
Summary: Pull Request resolved: #54754 Enables the standalone app shell for React Native DevTools by default. We preserve + document this flag as an opt-out (allowing Frameworks to override this behaviour if needed). Changelog: [Internal] Reviewed By: motiz88 Differential Revision: D88161573 fbshipit-source-id: 64ee191dcead4e639bb3067bc9e715b1c8cdf80d
1 parent 83a3741 commit 3341bb5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/dev-middleware/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ React Native frameworks may pass an `unstable_experiments` option to `createDevM
9494

9595
### `unstable_experiments.enableStandaloneFuseboxShell`
9696

97-
When `true`, the debugger frontend will launch in a standalone app shell (provided by the `@react-native/debugger-shell` package) rather than in a browser window. The standalone shell provides an improved experience and will become the default in a future version of React Native.
97+
Enables launching the debugger frontend in a standalone app shell (provided by the `@react-native/debugger-shell` package) rather than in a browser window. Since React Native 0.83 this defaults to `true`, and may be disabled by explicitly passing `false`.
9898

9999
The shell is powered by a separate binary that is downloaded and cached in the background (immediately after the call to `createDevMiddleware`). If there is a problem downloading or invoking this binary for the first time, the debugger frontend will revert to launching in a browser window until the next time `createDevMiddleware` is called (typically, on the next dev server start).
100100

packages/dev-middleware/src/createDevMiddleware.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function getExperiments(config: ExperimentsConfig): Experiments {
138138
return {
139139
enableOpenDebuggerRedirect: config.enableOpenDebuggerRedirect ?? false,
140140
enableNetworkInspector: config.enableNetworkInspector ?? false,
141-
enableStandaloneFuseboxShell: config.enableStandaloneFuseboxShell ?? false,
141+
enableStandaloneFuseboxShell: config.enableStandaloneFuseboxShell ?? true,
142142
};
143143
}
144144

packages/dev-middleware/src/types/Experiments.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export type Experiments = $ReadOnly<{
2020
/**
2121
* Enables the Network panel in the debugger frontend.
2222
*/
23-
// NOTE: Used by Expo, exposing a tab labelled "Network (Expo, unstable)"
23+
// NOTE: Used by Expo, exposing a tab labelled "Network (Expo)"
2424
enableNetworkInspector: boolean,
2525

2626
/**

0 commit comments

Comments
 (0)