mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
cda0ad8c5f
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53714 Changelog: [Internal] - Update `react-native/debugger-frontend` from e87564a...5a792db Resyncs `react-native/debugger-frontend` from GitHub - see `rn-chrome-devtools-frontend` [changelog](https://github.com/facebook/react-native-devtools-frontend/compare/e87564a24cf233c60aaebee8c418ec85724f7214...5a792db1225adda206313e9bf751198a1ca7851a). ### Changelog | Commit | Author | Date/Time | Subject | | ------ | ------ | --------- | ------- | | [5a792db12](https://github.com/facebook/react-native-devtools-frontend/commit/5a792db12) | Vitali Zaidman (vzaidman@gmail.com) | 2025-09-01T11:06:46+01:00 | [track clicks on script links (#204)](https://github.com/facebook/react-native-devtools-frontend/commit/5a792db12) | | [7edec7c48](https://github.com/facebook/react-native-devtools-frontend/commit/7edec7c48) | Vitali Zaidman (vzaidman@gmail.com) | 2025-08-28T10:24:49+01:00 | [track the duration between user setting a breakpoint and the breakpoint being painted (#201)](https://github.com/facebook/react-native-devtools-frontend/commit/7edec7c48) | | [273f02681](https://github.com/facebook/react-native-devtools-frontend/commit/273f02681) | Ruslan Lesiutin (28902667+hoxyq@users.noreply.github.com) | 2025-08-27T19:33:26+01:00 | [Revert "Add landingView query param enabling view focus on launch (#197)" (#202)](https://github.com/facebook/react-native-devtools-frontend/commit/273f02681) | | [1e19c4454](https://github.com/facebook/react-native-devtools-frontend/commit/1e19c4454) | Vitali Zaidman (vzaidman@gmail.com) | 2025-08-21T16:23:44+01:00 | [Fixed Protocol Manager displaying events with no params as "(pending)". (#200)](https://github.com/facebook/react-native-devtools-frontend/commit/1e19c4454) | Reviewed By: robhogan Differential Revision: D82117068 fbshipit-source-id: 4112be5e8a4f643dffc46e7956c821041dad3b26
@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.