Skip to content

Add docs for the Metro connection on Apple platforms (#59035) - #59035

Closed
vzaidman wants to merge 1 commit into
mainfrom
export-D124966085
Closed

vzaidman wants to merge 1 commit into
mainfrom
export-D124966085

Conversation

@vzaidman

@vzaidman vzaidman commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Adds technical documentation for how a React Native app on Apple platforms connects to Metro, under packages/react-native/React/DevSupport/__docs__/.

README.md gives the overview: the HTTP and WebSocket channels the app opens to Metro, a diagram of what happens at startup, and an endpoint reference. It links to one short document per topic:

  • how the bundle URL is chosen and how it can change at runtime
  • downloading and running the bundle
  • reloading and switching to a different Metro
  • the /message, /hot and /inspector/device connections
  • the JavaScript dev tools that talk to Metro (symbolication, open in editor, assets)
  • what each build mode and compile flag enables

The docs follow the __docs__ guidelines and are linked from the root documentation index.

Changelog: [Internal]

Differential Revision: D124966085

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 13, 2026
@meta-codesync

meta-codesync Bot commented Oct 13, 2026

Copy link
Copy Markdown

@vzaidman has exported this pull request. If you are a Meta employee, you can view the originating Diff in D124966085.

@meta-codesync meta-codesync Bot changed the title Add docs for the Metro connection on Apple platforms Add docs for the Metro connection on Apple platforms (#59035) Oct 13, 2026
meta-codesync Bot pushed a commit that referenced this pull request Oct 13, 2026
Summary:

Adds technical documentation for how a React Native app on Apple platforms connects to Metro, under `packages/react-native/React/DevSupport/__docs__/`.

`README.md` gives the overview: the HTTP and WebSocket channels the app opens to Metro, a diagram of what happens at startup, and an endpoint reference. It links to one short document per topic:

- how the bundle URL is chosen and how it can change at runtime
- downloading and running the bundle
- reloading and switching to a different Metro
- the `/message`, `/hot` and `/inspector/device` connections
- the JavaScript dev tools that talk to Metro (symbolication, open in editor, assets)
- what each build mode and compile flag enables

The docs follow the `__docs__` guidelines and are linked from the root documentation index.

Changelog: [Internal]

Differential Revision: D124966085
Summary:
Pull Request resolved: #59035

Adds technical documentation for how a React Native app on Apple platforms connects to Metro, under `packages/react-native/React/DevSupport/__docs__/`.

`README.md` gives the overview: the HTTP and WebSocket channels the app opens to Metro, a diagram of what happens at startup, and an endpoint reference. It links to one short document per topic:

- how the bundle URL is chosen and how it can change at runtime
- downloading and running the bundle
- reloading and switching to a different Metro
- the `/message`, `/hot` and `/inspector/device` connections
- the JavaScript dev tools that talk to Metro (symbolication, open in editor, assets)
- what each build mode and compile flag enables

The docs follow the `__docs__` guidelines and are linked from the root documentation index.

Changelog: [Internal]

Differential Revision: D124966085
@meta-codesync meta-codesync Bot closed this in 55c951c Oct 13, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Oct 13, 2026
@meta-codesync

meta-codesync Bot commented Oct 13, 2026

Copy link
Copy Markdown

This pull request has been merged in 55c951c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant