mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
fc535ef542
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52585 Changelog: [Internal] - Update `react-native/debugger-frontend` from 844f225...8dc0d5b Resyncs `react-native/debugger-frontend` from GitHub - see `rn-chrome-devtools-frontend` [changelog](https://github.com/facebook/react-native-devtools-frontend/compare/844f225009e6445d088ed0e431d1fc430325ed95...8dc0d5b365e6b4600b78e5a7381aa861d8c1c81e). ### Changelog | Commit | Author | Date/Time | Subject | | ------ | ------ | --------- | ------- | | [8dc0d5b36](https://github.com/facebook/react-native-devtools-frontend/commit/8dc0d5b36) | Vitali Zaidman (vzaidman@gmail.com) | 2025-07-14T18:03:52+01:00 | [improve current session id message selectivity (#192)](https://github.com/facebook/react-native-devtools-frontend/commit/8dc0d5b36) | | [0a50c353c](https://github.com/facebook/react-native-devtools-frontend/commit/0a50c353c) | Vitali Zaidman (vzaidman@gmail.com) | 2025-07-14T16:33:55+01:00 | [Track Stack Trace Frames Succeed / Fail to Resolve URL (#191)](https://github.com/facebook/react-native-devtools-frontend/commit/0a50c353c) | | [fc0a2e77e](https://github.com/facebook/react-native-devtools-frontend/commit/fc0a2e77e) | Alex Hunt (hello@alexhunt.dev) | 2025-07-14T12:41:58+01:00 | [Tweak wording for Network dogfooding banner (#193)](https://github.com/facebook/react-native-devtools-frontend/commit/fc0a2e77e) | | [efa49bd7a](https://github.com/facebook/react-native-devtools-frontend/commit/efa49bd7a) | sbuggay (sbuggay@gmail.com) | 2025-07-11T06:17:05-07:00 | [Update README.md (#190)](https://github.com/facebook/react-native-devtools-frontend/commit/efa49bd7a) | Reviewed By: huntie Differential Revision: D78281338 fbshipit-source-id: 2cbc15e0e53919f7164fca009c0dcad93d333c72
@react-native/debugger-frontend
Debugger frontend for React Native based on Chrome DevTools.
This package is internal to React Native and is intended to be used via @react-native/dev-middleware.
Usage
The package exports the absolute path to the directory containing the frontend assets.
const frontendPath = require('@react-native/debugger-frontend');
// Pass frontendPath to a static server, etc
Contributing
Source repo
Source code for this package lives in the facebook/react-native-devtools-frontend repo. See below for how we build and check in changes.
Updating the frontend assets
The compiled assets for the debugger frontend are periodically checked into this package under the dist/ folder. To update these, run node scripts/debugger-frontend/sync-and-build from the root of your react-native checkout.
# For main
node scripts/debugger-frontend/sync-and-build --branch main
# For stable branches (e.g. '0.73-stable')
node scripts/debugger-frontend/sync-and-build --branch 0.73-stable
By default, this will clone and build from facebook/react-native-devtools-frontend.