react/packages/react-devtools-extensions
Nick Reiley 7e405d458d
[DevTools] Add DevTools forked Feature flags (#18994)
Also resolve an uncaught error in extension build (#18843).

Co-authored-by: Brian Vaughn <brian.david.vaughn@gmail.com>
Co-authored-by: Brian Vaughn <bvaughn@fb.com>
2020-10-12 13:07:10 -04:00
..
.circleci Reorganized things again into packages 2019-08-13 11:37:25 -07:00
chrome Revert "DevTools: Improve browser extension iframe support (#19854)" (#19959) 2020-10-05 09:44:08 -04:00
edge Revert "DevTools: Improve browser extension iframe support (#19854)" (#19959) 2020-10-05 09:44:08 -04:00
firefox Revert "DevTools: Improve browser extension iframe support (#19854)" (#19959) 2020-10-05 09:44:08 -04:00
flow-typed make link https (#19147) 2020-06-30 12:43:52 +01:00
icons Fixed a bunch of Lint issues 2019-08-13 21:59:07 -07:00
popups Update outdated links and fix two broken links (#19985) 2020-10-09 02:56:30 +01:00
src DevTools: Remove ReactJS.org version check "cheat" (#19939) 2020-10-01 10:16:50 -04:00
build.js Merged changes from 4.0.0 -> 4.0.5 from DevTools fork 2019-08-20 11:34:51 -07:00
deploy.chrome.html Fixed a bunch of Lint issues 2019-08-13 21:59:07 -07:00
deploy.edge.html React developer tools extension for Microsoft Edge (#18041) 2020-02-18 09:40:30 -08:00
deploy.firefox.html Fixed a bunch of Lint issues 2019-08-13 21:59:07 -07:00
deploy.html make link https (#19147) 2020-06-30 12:43:52 +01:00
deploy.js Cleaned up some extnesions build script stuff 2019-08-13 22:15:38 -07:00
main.html Fixed a bunch of Lint issues 2019-08-13 21:59:07 -07:00
package.json Upgrade all @babel/* packages to fix DevTools builds on newer Node versions (#19647) 2020-08-20 11:47:16 -04:00
panel.html Fixed a bunch of Lint issues 2019-08-13 21:59:07 -07:00
README.md Revert "DevTools: Improve browser extension iframe support (#19854)" (#19959) 2020-10-05 09:44:08 -04:00
utils.js Scheduling Profiler: Redesign with DevTools styling (#19707) 2020-09-03 12:08:40 -04:00
webpack.backend.js Enable source maps for DevTools production builds (#19773) 2020-09-18 10:07:22 -04:00
webpack.config.js [DevTools] Add DevTools forked Feature flags (#18994) 2020-10-12 13:07:10 -04:00

This is the source code for the React DevTools browser extension.

Installation

The easiest way to install this extension is as a browser add-on:

Local development

You can also build and install this extension from source.

Prerequisite steps

DevTools depends on local versions of several NPM packages1 also in this workspace. You'll need to either build or download those packages first.

1 Note that at this time, an experimental build is required because DevTools depends on the createRoot API.

Build from source

To build dependencies from source, run the following command from the root of the repository:

yarn build-for-devtools

Download from CI

To use the latest build from CI, run the following command from the root of the repository:

./scripts/release/download-experimental-build.js

Build steps

Once the above packages have been built or downloaded, you can build the extension by running:

cd packages/react-devtools-extensions/

yarn build:chrome # => packages/react-devtools-extensions/chrome/build
yarn run test:chrome # Test Chrome extension

yarn build:firefox # => packages/react-devtools-extensions/firefox/build
yarn run test:firefox # Test Firefox extension