Skip to content

Commit 111187f

Browse files
motiz88facebook-github-bot
authored andcommitted
Document unstable_experiments.enableStandaloneFuseboxShell (#53482)
Summary: Pull Request resolved: #53482 Changelog: [Internal] TSIA Reviewed By: huntie Differential Revision: D81127995 fbshipit-source-id: cad5720b41ce409e9db1972bea3844ff0e0724ce
1 parent 9240b78 commit 111187f

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

packages/dev-middleware/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,16 @@ WebSocket handler for registering device connections.
8888

8989
WebSocket handler that proxies CDP messages to/from the corresponding device.
9090

91+
## Experimental features
92+
93+
React Native frameworks may pass an `unstable_experiments` option to `createDevMiddleware` to configure experimental features. Note that these features might not work correctly, and they may change or be removed in the future without notice. Some of the experiment flags available are documented below.
94+
95+
### `unstable_experiments.enableStandaloneFuseboxShell`
96+
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.
98+
99+
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).
100+
91101
## Contributing
92102

93103
Changes to this package can be made locally and tested against the `rn-tester` app, per the [Contributing guide](https://reactnative.dev/contributing/overview#contributing-code). During development, this package is automatically run from source with no build step.

0 commit comments

Comments
 (0)