react/packages/react-devtools-extensions
Brian Vaughn 2bf4805e4b
Update entry point exports (#21488)
The following APIs have been added to the `react` stable entry point:
* `SuspenseList`
* `startTransition`
* `unstable_createMutableSource`
* `unstable_useMutableSource`
* `useDeferredValue`
* `useTransition`

The following APIs have been added or removed from the `react-dom` stable entry point:
* `createRoot`
* `unstable_createPortal` (removed)

The following APIs have been added to the `react-is` stable entry point:
* `SuspenseList`
* `isSuspenseList`

The following feature flags have been changed from experimental to true:
* `enableLazyElements`
* `enableSelectiveHydration`
* `enableSuspenseServerRenderer`
2021-05-12 11:28:14 -04:00
..
.circleci Reorganized things again into packages 2019-08-13 11:37:25 -07:00
chrome DevTools 4.13.1 -> 4.13.2 2021-05-07 08:52:02 -04:00
edge DevTools 4.13.1 -> 4.13.2 2021-05-07 08:52:02 -04:00
firefox DevTools 4.13.1 -> 4.13.2 2021-05-07 08:52:02 -04:00
flow-typed make link https (#19147) 2020-06-30 12:43:52 +01:00
icons DevTools: Handle restricted browser pages properly like new tab page, extensions page etc(only chrome and edge for now) (#20023) 2020-10-14 13:59:05 -04:00
popups DevTools: Handle restricted browser pages properly like new tab page, extensions page etc(only chrome and edge for now) (#20023) 2020-10-14 13:59:05 -04:00
src Update entry point exports (#21488) 2021-05-12 11:28:14 -04:00
README.md Document prerequisites for download-experimental-build (#21005) 2021-03-15 09:48:44 -04:00
build.js Update devtools-extensions build script to reflect changes in local b… (#21004) 2021-03-15 09:46:46 -04: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 [FB-only] Show which hooks (indices) changed when profiling (#20998) 2021-03-17 12:28:21 -04:00
panel.html Fixed a bunch of Lint issues 2019-08-13 21:59:07 -07:00
utils.js Scheduling Profiler: Redesign with DevTools styling (#19707) 2020-09-03 12:08:40 -04:00
webpack.backend.js Added new GitHub issue form for React DevTools bug reports (#21450) 2021-05-07 08:46:58 -04:00
webpack.config.js Added new GitHub issue form for React DevTools bug reports (#21450) 2021-05-07 08:46:58 -04:00

README.md

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 commands starting from the root of the repository:

cd scripts/release
yarn install
./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