Commit Graph
60 Commits
Author SHA1 Message Date
Luna RuanandGitHub ea0827c348 [DevTools] Fix react-devtools-extension build error and react-devtools-inline's package.json (#22281) 2021-09-09 14:26:13 -07:00
Brian VaughnandGitHub 0bfcef0315 Add named hooks support to react-devtools-inline (#22263)
This commit builds on PR #22260 and makes the following changes:
* Adds a DevTools feature flag for named hooks support. (This allows us to disable it entirely for a build via feature flag.)
* Adds a new Suspense cache for dynamically imported modules. (This allows a component to suspend while importing an external code chunk– like the hook names parsing code).
* DevTools supports a hookNamesModuleLoaderFunction param to import the hook names module. I wish this could be handles as part of the react-devtools-shared package, but I'm not sure how to configure Webpack (4) to serve the chunk from react-devtools-inline. This seemed like a reasonable workaround.

The PR also contains an additional unrelated change:
* Removes pre-fetch optimization (added in DevTools: Improve named hooks network caching #22198). This optimization was mostly only important for cases where sources needed to be re-downloaded, something which we can now avoid in most cases¹ thanks to using cached responses already loaded by the page. (I tested this locally on Facebook and this change has no negative performance impact. There is still some overhead from serializing the JS through the Bridge but that's constant between the two approaches.)

¹ The case where we don't benefit from cached responses is when DevTools are opened after the page has already loaded certain scripts. This seems uncommon enough that I don't think it justified the added complexity of prefetching.
2021-09-09 15:25:26 -04:00
Luna RuanandGitHub 7bea34f930 React DevTools 4.17.0 -> 4.18.0 (#22234) 2021-09-01 13:39:36 -07:00
Brian Vaughn 58f529ba02 React DevTools 4.16.0 -> 4.17.0 2021-08-24 11:12:42 -07:00
Luna RuanandGitHub 7556f8b2f3 DevTools 4.15.0 -> 4.16.0 (#22104) 2021-08-16 14:55:47 -07:00
JuanandGitHub 04c656936a DevTools 4.14.0 -> 4.15.0 2021-08-11 16:47:20 -04:00
Brian VaughnandGitHub ff12ccb0e2 [DRAFT] Import scheduling profiler into DevTools Profiler (#21897) 2021-07-22 13:58:57 -04:00
Brian Vaughn d60219b7f6 DevTools 4.13.5 -> 4.14.0 2021-07-16 00:25:01 -04:00
Brian Vaughn 8ea654acd9 DevTools 4.13.4 -> 4.13.5 2021-05-25 15:18:47 -04:00
Brian Vaughn 79b229fbc8 DevTools 4.13.3 -> 4.13.4 2021-05-20 11:24:30 -04:00
Brian Vaughn 8fdba3b1be Preparing DevTools 4.13.2 -> 4.13.3 for release 2021-05-18 13:23:06 -04:00
Brian Vaughn e5aeab0276 DevTools 4.13.1 -> 4.13.2 2021-05-07 08:52:02 -04:00
Brian Vaughn 4bfee83725 Prepare DevTools 4.13.1 release 2021-05-04 22:35:30 -04:00
Brian VaughnandGitHub f4b88cd77b Preparing DevTools 4.12.4 -> 4.13.0 release (#21378) 2021-04-28 12:36:24 -04:00
Brian Vaughn 1bc9f797fe DevTools version bump 4.12.3 -> 4.12.4 2021-04-19 21:23:01 -04:00
Brian Vaughn 72120d66ef DevTools version bump 4.12.2 -> 4.12.3 2021-04-19 13:09:07 -04:00
Brian Vaughn d987e536a3 DevTools version bump 4.12.1 -> 4.12.2 2021-04-16 12:35:29 -04:00
Brian VaughnandGitHub f4d011491f Fixed bug in react-detools-inline frontend init method (#21265) 2021-04-14 13:27:21 -04:00
Brian VaughnandGitHub 0f43470e40 Add createBridge and createStore exports to react-devtools-inline (for Replay integration) (#21032) 2021-04-12 17:07:14 -04:00
Brian VaughnandGitHub 20a734f633 Fixed broken feature flag import for DT inline package (#21237) 2021-04-11 14:59:52 -04:00
Brian VaughnandGitHub e4a3c060c3 Prepare DevTools CHANGELOG and versions for 4.11.0 release (#21221) 2021-04-09 19:12:13 -04:00
Brian Vaughn 3abe21b49c React DevTools 4.10.0 -> 4.10.1 2020-12-04 16:43:13 -05:00
Brian Vaughn 5fef98a1c0 DevTools 4.9.0 -> 4.10.0 2020-11-12 09:07:10 -05:00
Brian Vaughn b96158b049 DevTools 4.8.2 -> 4.9.0 bump 2020-10-19 11:20:54 -04:00
E-Liang TanandGitHub dec4a9e37e Upgrade all @babel/* packages to fix DevTools builds on newer Node versions (#19647) 2020-08-20 11:47:16 -04:00
Brian Vaughn b37cc32bad DevTools 4.8.1 -> 4.8.2 (and CHANGELOG) 2020-07-15 12:37:08 -04:00
Dan Abramov 270e46cfcd React DevTools 4.8.1 2020-07-10 14:11:55 +01:00
Brian VaughnandGitHub 1a46464a0e DevTools 4.7.0 -> 4.8.0 (#19297) 2020-07-09 10:49:44 -04:00
Brian Vaughn 30c0d562ea DevTools 4.6.0 -> 4.7.0 2020-05-18 14:16:04 -07:00
Brian VaughnandGitHub d36de17032 Disable Webpack setImmediate polyfill for DevTools (#18860)
* Upgrade Webpack deps to latet

* Disable Webpack setImmediate polyfill
2020-05-07 13:13:47 -07:00
Brian Vaughn adda9dbc2a DevTools v4.5.0 -> 4.6.0 2020-03-26 10:00:37 -07:00
Brian VaughnandGitHub 41ca1650ab Remove "es6-symbol" package from DevTools (#18397) 2020-03-26 09:31:36 -07:00
Brian Vaughn 0bf5082b95 DevTools 4.4.0 -> 4.5.0 2020-03-03 15:04:07 -08:00
Brian Vaughn 7b2d181c55 DevTools 4.3.0 -> 4.4.0 2020-01-03 10:02:50 -08:00
Brian Vaughn 753cf4f3df DevTools v4.2.1 -> 4.3.0 2019-12-20 09:11:37 -08:00
Brian Vaughn 270332d95d DevTools version bump 4.2.0 -> 4.2.1 2019-11-27 07:49:49 -08:00
Brian VaughnandGitHub 4c2d13e119 Remove dependency on local git checkout from build process (#17475)
* Remove dependency on local git checkout from build process

* Updated Webpack dependencies to account for recent changes to deps for Flight
2019-11-27 07:48:09 -08:00
Brian Vaughn 2598e42a05 DevTools v4.1.3 -> v4.2.0 2019-10-03 12:34:35 -07:00
Simen BekkhusandSunil Pai 1c7e3494a1 chore: upgrade to jest 24 (#15778)
* chore: upgrade to jest 24

* download react-is from npm manually
2019-10-03 22:44:18 +05:30
Brian Vaughn d78de8fc7f React DevTools v4.1.2 -> v.4.1.3 2019-09-30 09:33:23 -07:00
Brian Vaughn 96d918e3b6 DevTools v4.1.1 -> v4.1.2 2019-09-27 17:03:17 -07:00
Brian Vaughn 5e3bbd711c DevTools v4.1.0 -> v4.1.1 2019-09-26 10:22:59 -07:00
Brian Vaughn 71e51469d1 React DevTools version bump 4.0.6 -> 4.1.0 2019-09-19 15:11:48 -07:00
Brian Vaughn 7abec59c5b Merged changes from 4.0.5 -> 4.0.6 from DevTools fork 2019-08-26 10:12:18 -07:00
Brian Vaughn 1e82e736a9 4.0.5 -> 4.0.6 2019-08-26 08:42:38 -07:00
Brian Vaughn b76cfe6353 Polyfill Symbol usage 2019-08-23 17:38:45 -06:00
Brian Vaughn d96b8a5606 Merged changes from 4.0.0 -> 4.0.5 from DevTools fork 2019-08-20 11:34:51 -07:00
Brian Vaughn a86395d208 4.0.4 -> 4.0.5 2019-08-19 09:26:55 -07:00
Brian Vaughn 54c932e976 4.0.3 -> 4.0.4 2019-08-18 08:45:52 -07:00
Brian Vaughn fdaa066543 4.0.2 -> 4.0.3 2019-08-17 11:31:31 -07:00