This is the source code for the React DevTools browser extension.## InstallationThe easiest way to install this extension is as a browser add-on:* [Chrome web store](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en)
* [Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/)
* [Edge Add-ons](https://microsoftedge.microsoft.com/addons/detail/react-developer-tools/gpphkfbcpidddadnkolkpfckpihlkkil)
## Local developmentYou can also build and install this extension from source.### Prerequisite stepsDevTools depends on local versions of several NPM packages<sup>1</sup> also in this workspace. You'll need to either build or download those packages first.
<sup>1</sup> Note that at this time, an _experimental_ build is required because DevTools depends on the `createRoot` API.
To install all necessary dependencies, run the following command from the root of the repository:```sh
yarn install```#### Build from sourceTo build dependencies from source, run the following command from the root of the repository:```sh
yarn build-for-devtools```#### Download from CITo use the latest build from CI, run the following commands starting from the root of the repository:```sh
cd scripts/releaseyarn install./download-experimental-build.js```### Build stepsOnce the above packages have been built or downloaded, you can build the extension by running:```sh
cd packages/react-devtools-extensions/yarn build:chrome # => packages/react-devtools-extensions/chrome/buildyarn run test:chrome # Test Chrome extensionyarn build:firefox # => packages/react-devtools-extensions/firefox/buildyarn run test:firefox # Test Firefox extensionyarn build:edge # => packages/react-devtools-extensions/edge/buildyarn run test:edge # Test Edge extension```