mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
7403e85233
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/54340 Changelog: [Internal] - Update `react-native/debugger-frontend` from 96e6bb8...7aa57d1 Resyncs `react-native/debugger-frontend` from GitHub - see `rn-chrome-devtools-frontend` [changelog](https://github.com/facebook/react-native-devtools-frontend/compare/96e6bb8ecdff166816e2a469b7594f1276bda8c1...7aa57d13e50ce9d74a91c9315c9b0ded00fbc19f). ### Changelog | Commit | Author | Date/Time | Subject | | ------ | ------ | --------- | ------- | | [7aa57d13e](https://github.com/facebook/react-native-devtools-frontend/commit/7aa57d13e) | Alex Hunt (hello@alexhunt.dev) | 2025-10-30T19:45:26+00:00 | [Add AGENTS.md (#215)](https://github.com/facebook/react-native-devtools-frontend/commit/7aa57d13e) | | [d524f81db](https://github.com/facebook/react-native-devtools-frontend/commit/d524f81db) | Alex Hunt (hello@alexhunt.dev) | 2025-10-30T18:43:44+00:00 | [Enable Performance panel by default (#216)](https://github.com/facebook/react-native-devtools-frontend/commit/d524f81db) | | [62f76dfbb](https://github.com/facebook/react-native-devtools-frontend/commit/62f76dfbb) | Alex Hunt (hello@alexhunt.dev) | 2025-10-30T17:01:50+00:00 | [Update project name in setup script (#214)](https://github.com/facebook/react-native-devtools-frontend/commit/62f76dfbb) | Reviewed By: hoxyq Differential Revision: D85888511 fbshipit-source-id: fbe4be107d8be6db7b91199dfe44b604b5be0036
@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.