Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ESM artifacts to build outputs #17453

Closed
wants to merge 49 commits into from

Conversation

darthtrevino
Copy link

@darthtrevino darthtrevino commented Nov 25, 2019

Overview

Continuation on #13321. This PR adds ESM outputs to most libraries - excluding reconciler, devtools, and react-native libraries. There's still some more work to be done WRT verifying the ESM output, but I think it's at a point where it's ready for comments to see if it's worth pursuing further.

TODO

  • CI: test-package-structure script should run on build
    • Note: this needs NodeJS 13.2+ - a Github action workflow has been added for this check in the meantime - sample output here.
  • restore legacy-mode support for fb builds. (added custom babel-transformer from Replace deprecated Rollup option 'legacy' with custom plugin. #13356)
  • esm dependencies
    • scheduler subpath imports for mjs
    • When prop-types is esm, the following packages can add esm builds. However, prop-types cannot be updated for esm support until react-is is published with esm support, which is part of this PR..
      • react
      • react-dom
      • react-debug-tools
      • create-subscription
      • use-subscription
      • react-cache
  • verify esm output is importable (check-packages script, with --experimental-conditional-exports flag)
  • make the package.json structures actually align to dual-package spec and not the de-facto "module" field
  • minify esm production (note - used terser until we can get closure compiler working on ESM)
  • verify bundle structures (e.g. packages that declare a main or module script actually have those scripts present).
  • pkgs with no index.js, should have no index.mjs
  • pkgs with named exports have no exports in index.mjs
  • esm reconciler packages? (skip for now)
  • add module fields to packages

Artifacts

Bundles may be configured with the additional build targets ESM_DEV and ESM_PROD. The build output will generate the following files:

esm/<package_name>.development.mjs
esm/<package_name>.production.min.mjs

Module Entry

Packages that support ESM are structured using the Dual CommonJS/ESModules Pattern using the conditional exports feature.

Packages may define an __exports field to support ESM. This is prefixed with a double-underscore to avoid file resolution issues with build. (e.g. import <package/src/x> will break if exports is set during build). During build each package's __exports field is assigned into the exports field of the final build.

Packages may also define top-level .mjs files in the npm/ folders, similar to how they currently include top-level index.js files. These can be used to define the modular API.

{
   "name": "react-x",
   "version": "16.derp",
   "main": "index.js",
  // will be turned into "exports" in build step
   "__exports": { 
     // top-level import is under "."
      ".": {
         // Note: relative imports are important here
         "require": "./index.js",
         "default": "./index.mjs"
      },
      "./subpath_import": {
         "require: "./subpath_import.js",
         "require: "./subpath_import.mjs",
      }
   }
}

Verification

Module structure is verified with a new script: test-package-structure, which is performed after the packages are built. This script depends on NodeJS >= 13.2 with the--experimantal-conditional-exports flag. The goal of this script is to ensure that packages are aligned with future NodeJS specifications for ES Modules. This script verifies the following invariants over each built package:

  • If main field is present in package.json, the file it references exists.
  • If an exports specification exists in package.json, the files it references exist.
  • The entries in files for each package.json exist.
  • The package can be included with a require statement
  • Each entry in exports can be included with require() and import()

Sample Output:
sample package validator output:

📦 create-subscription
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[cjs/] exists
	✓ require('create-subscription') doesn't throw
	✓ require('create-subscription') has valid exports
 📦 eslint-plugin-react-hooks
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[index.mjs] exists
	✓ pkg.files@[cjs/] exists
	✓ pkg.files@[esm/] exists
	✓ pkg.exports[.].require file exists
	✓ pkg.exports[.].default file exists
	✓ require('eslint-plugin-react-hooks') doesn't throw
	✓ require('eslint-plugin-react-hooks') has valid exports
	✓ require('eslint-plugin-react-hooks') doesn't throw
	✓ require('eslint-plugin-react-hooks') has valid exports
	✓ import('eslint-plugin-react-hooks') has valid exports
 📦 jest-react
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[index.mjs] exists
	✓ pkg.files@[cjs/] exists
	✓ pkg.files@[esm/] exists
	✓ pkg.exports[.].require file exists
	✓ pkg.exports[.].default file exists
	✓ require('jest-react') doesn't throw
	✓ require('jest-react') has valid exports
	✓ require('jest-react') doesn't throw
	✓ require('jest-react') has valid exports
	✓ import('jest-react') has valid exports
 📦 react
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[cjs/] exists
	✓ pkg.files@[umd/] exists
	✓ require('react') doesn't throw
	✓ require('react') has valid exports
 📦 react-art
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[cjs/] exists
	✓ pkg.files@[umd/] exists
	✓ pkg.files@[Circle.js] exists
	✓ pkg.files@[Rectangle.js] exists
	✓ pkg.files@[Wedge.js] exists
	✓ require('react-art') doesn't throw
	✓ require('react-art') has valid exports
 📦 react-cache
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[index.mjs] exists
	✓ pkg.files@[cjs/] exists
	✓ pkg.files@[umd/] exists
	✓ pkg.files@[esm/] exists
	✓ pkg.exports[.].require file exists
	✓ pkg.exports[.].default file exists
	✓ require('react-cache') doesn't throw
	✓ require('react-cache') has valid exports
	✓ require('react-cache') doesn't throw
	✓ require('react-cache') has valid exports
	✓ import('react-cache') has valid exports
 📦 react-debug-tools
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[index.mjs] exists
	✓ pkg.files@[esm/] exists
	✓ pkg.files@[cjs/] exists
	✓ pkg.exports[.].require file exists
	✓ pkg.exports[.].default file exists
	✓ require('react-debug-tools') doesn't throw
	✓ require('react-debug-tools') has valid exports
	✓ require('react-debug-tools') doesn't throw
	✓ require('react-debug-tools') has valid exports
	✓ import('react-debug-tools') has valid exports
 📦 react-dom
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[profiling.js] exists
	✓ pkg.files@[server.js] exists
	✓ pkg.files@[server.browser.js] exists
	✓ pkg.files@[server.node.js] exists
	✓ pkg.files@[test-utils.js] exists
	✓ pkg.files@[unstable-fizz.js] exists
	✓ pkg.files@[unstable-fizz.browser.js] exists
	✓ pkg.files@[unstable-fizz.node.js] exists
	✓ pkg.files@[unstable-native-dependencies.js] exists
	✓ pkg.files@[cjs/] exists
	✓ pkg.files@[umd/] exists
	✓ require('react-dom') doesn't throw
	✓ require('react-dom') has valid exports
 📦 react-flight
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[cjs/] exists
	✓ require('react-flight') doesn't throw
	✓ require('react-flight') has valid exports
 📦 react-flight-dom-webpack
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[index.mjs] exists
	✓ pkg.files@[server.js] exists
	✓ pkg.files@[server.browser.js] exists
	✓ pkg.files@[server.node.js] exists
	✓ pkg.files@[cjs/] exists
	✓ pkg.files@[umd/] exists
	✓ pkg.files@[esm/] exists
	✓ pkg.exports[.].require file exists
	✓ pkg.exports[.].default file exists
	✓ require('react-flight-dom-webpack') doesn't throw
	✓ require('react-flight-dom-webpack') has valid exports
	✓ require('react-flight-dom-webpack') doesn't throw
	✓ require('react-flight-dom-webpack') has valid exports
	✓ import('react-flight-dom-webpack') has valid exports
 📦 react-is
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[index.mjs] exists
	✓ pkg.files@[cjs/] exists
	✓ pkg.files@[umd/] exists
	✓ pkg.files@[esm/] exists
	✓ pkg.exports[.].require file exists
	✓ pkg.exports[.].default file exists
	✓ require('react-is') doesn't throw
	✓ require('react-is') has valid exports
	✓ require('react-is') doesn't throw
	✓ require('react-is') has valid exports
	✓ import('react-is') has valid exports
 📦 react-noop-renderer
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[index.mjs] exists
	✓ pkg.files@[persistent.js] exists
	✓ pkg.files@[server.js] exists
	✓ pkg.files@[flight-client.js] exists
	✓ pkg.files@[flight-server.js] exists
	✓ pkg.files@[cjs/] exists
	✓ pkg.files@[esm/] exists
	✓ pkg.exports[.].require file exists
	✓ pkg.exports[.].default file exists
	✓ require('react-noop-renderer') doesn't throw
	✓ require('react-noop-renderer') has valid exports
	✓ require('react-noop-renderer') doesn't throw
	✓ require('react-noop-renderer') has valid exports
	✓ import('react-noop-renderer') has valid exports
 📦 react-reconciler
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[persistent.js] exists
	✓ pkg.files@[reflection.js] exists
	✓ pkg.files@[cjs/] exists
	✓ require('react-reconciler') doesn't throw
	✓ require('react-reconciler') has valid exports
 📦 react-server
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[flight.js] exists
	✓ pkg.files@[cjs/] exists
	✓ require('react-server') doesn't throw
	✓ require('react-server') has valid exports
 📦 react-test-renderer
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[shallow.js] exists
	✓ pkg.files@[cjs/] exists
	✓ pkg.files@[umd/] exists
	✓ require('react-test-renderer') doesn't throw
	✓ require('react-test-renderer') has valid exports
 📦 scheduler
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[index.mjs] exists
	✓ pkg.files@[tracing.js] exists
	✓ pkg.files@[tracing.mjs] exists
	✓ pkg.files@[tracing-profiling.js] exists
	✓ pkg.files@[unstable_mock.js] exists
	✓ pkg.files@[unstable_mock.mjs] exists
	✓ pkg.files@[cjs/] exists
	✓ pkg.files@[umd/] exists
	✓ pkg.files@[esm/] exists
	✓ pkg.exports[.].require file exists
	✓ pkg.exports[.].default file exists
	✓ pkg.exports[./unstable_mock].require file exists
	✓ pkg.exports[./unstable_mock].default file exists
	✓ pkg.exports[./tracing].require file exists
	✓ pkg.exports[./tracing].default file exists
	✓ require('scheduler') doesn't throw
	✓ require('scheduler') has valid exports
	✓ require('scheduler') doesn't throw
	✓ require('scheduler') has valid exports
	✓ import('scheduler') has valid exports
	✓ require('scheduler/unstable_mock') doesn't throw
	✓ require('scheduler/unstable_mock') has valid exports
	✓ import('scheduler/unstable_mock') has valid exports
	✓ require('scheduler/tracing') doesn't throw
	✓ require('scheduler/tracing') has valid exports
	✓ import('scheduler/tracing') has valid exports
 📦 use-subscription
	✓ pkg.main file exists
	✓ pkg.files@[LICENSE] exists
	✓ pkg.files@[README.md] exists
	✓ pkg.files@[index.js] exists
	✓ pkg.files@[cjs/] exists
	✓ require('use-subscription') doesn't throw
	✓ require('use-subscription') has valid exports

@codesandbox-ci
Copy link

codesandbox-ci bot commented Nov 25, 2019

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 87594d7:

Sandbox Source
great-leftpad-05i6b Configuration

@sizebot
Copy link

sizebot commented Nov 25, 2019

Details of bundled changes.

Comparing: 6470e0f...87594d7

react

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react.development.js -7.2% -10.2% 112.98 KB 104.81 KB 28.69 KB 25.76 KB UMD_DEV
react.production.min.js -0.7% -0.5% 12.52 KB 12.44 KB 4.9 KB 4.87 KB UMD_PROD
React-dev.js -2.8% -3.0% 70.43 KB 68.48 KB 18.18 KB 17.63 KB FB_WWW_DEV
React-prod.js -1.1% -1.2% 17.75 KB 17.56 KB 4.62 KB 4.57 KB FB_WWW_PROD
React-profiling.js -1.1% -1.2% 17.75 KB 17.56 KB 4.62 KB 4.57 KB FB_WWW_PROFILING
react.profiling.min.js -0.6% -0.5% 16.05 KB 15.96 KB 6.01 KB 5.98 KB UMD_PROFILING
react.development.js -15.4% -13.9% 72.73 KB 61.53 KB 19.07 KB 16.42 KB NODE_DEV
react.production.min.js -1.9% -1.6% 6.8 KB 6.67 KB 2.81 KB 2.76 KB NODE_PROD
react.development.mjs n/a n/a 0 B 61.43 KB 0 B 16.37 KB ESM_DEV
react.production.min.mjs n/a n/a 0 B 6.86 KB 0 B 2.87 KB ESM_PROD

react-dom

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-dom.development.js -9.5% -8.5% 948.07 KB 857.84 KB 214.02 KB 195.91 KB NODE_DEV
react-dom-test-utils.development.mjs n/a n/a 0 B 50.91 KB 0 B 13.72 KB ESM_DEV
react-dom.production.min.js -0.1% -0.3% 119.73 KB 119.57 KB 37.79 KB 37.68 KB NODE_PROD
react-dom-test-utils.production.min.mjs n/a n/a 0 B 12 KB 0 B 4.6 KB ESM_PROD
ReactDOM-dev.js -5.5% -4.8% 976.17 KB 922.21 KB 216.55 KB 206.09 KB FB_WWW_DEV
react-dom-unstable-native-dependencies.development.js -3.3% -8.4% 60.14 KB 58.13 KB 15.8 KB 14.47 KB UMD_DEV
react-dom-server.browser.development.js -5.0% -5.0% 136.39 KB 129.51 KB 35.91 KB 34.11 KB NODE_DEV
react-dom-server.node.development.mjs n/a n/a 0 B 130.53 KB 0 B 34.29 KB ESM_DEV
ReactDOM-prod.js -0.7% -0.3% 402.83 KB 400 KB 73.37 KB 73.13 KB FB_WWW_PROD
react-dom-unstable-native-dependencies.production.min.js 🔺+0.2% 🔺+0.6% 10.73 KB 10.76 KB 3.67 KB 3.7 KB UMD_PROD
react-dom-server.browser.production.min.js -0.1% -0.2% 20.31 KB 20.28 KB 7.46 KB 7.44 KB NODE_PROD
react-dom-server.node.production.min.mjs n/a n/a 0 B 21.51 KB 0 B 7.85 KB ESM_PROD
ReactDOM-profiling.js -0.7% -0.4% 403.79 KB 400.94 KB 73.89 KB 73.62 KB FB_WWW_PROFILING
ReactDOMFizzServer-dev.js -11.1% -12.5% 4.36 KB 3.88 KB 1.61 KB 1.41 KB FB_WWW_DEV
react-dom-test-utils.development.js -1.8% -8.6% 56.21 KB 55.21 KB 15.55 KB 14.21 KB UMD_DEV
react-dom-unstable-native-dependencies.development.js -7.8% -9.3% 59.82 KB 55.16 KB 15.66 KB 14.2 KB NODE_DEV
react-dom-server.browser.development.mjs n/a n/a 0 B 129.41 KB 0 B 34.07 KB ESM_DEV
ReactDOMFizzServer-prod.js -8.7% -4.3% 2.34 KB 2.14 KB 910 B 871 B FB_WWW_PROD
react-dom-test-utils.production.min.js 🔺+0.1% 🔺+0.2% 11.18 KB 11.19 KB 4.15 KB 4.16 KB UMD_PROD
react-dom-unstable-native-dependencies.production.min.js 🔺+0.1% 🔺+0.2% 10.48 KB 10.49 KB 3.58 KB 3.58 KB NODE_PROD
react-dom-server.browser.production.min.mjs n/a n/a 0 B 21.1 KB 0 B 7.71 KB ESM_PROD
react-dom.development.js -5.2% -7.4% 954 KB 904.64 KB 215.6 KB 199.56 KB UMD_DEV
react-dom-test-utils.development.js -6.4% -9.6% 54.48 KB 51 KB 15.22 KB 13.75 KB NODE_DEV
react-dom-unstable-native-dependencies.development.mjs n/a n/a 0 B 55.07 KB 0 B 14.15 KB ESM_DEV
react-dom.production.min.js -0.1% -0.1% 119.59 KB 119.45 KB 38.42 KB 38.38 KB UMD_PROD
react-dom-test-utils.production.min.js -0.1% -0.0% 10.95 KB 10.94 KB 4.09 KB 4.09 KB NODE_PROD
react-dom-unstable-native-dependencies.production.min.mjs n/a n/a 0 B 10.81 KB 0 B 3.64 KB ESM_PROD
react-dom.profiling.min.js -0.1% -0.1% 123.27 KB 123.11 KB 39.53 KB 39.47 KB UMD_PROFILING
react-dom.profiling.min.js -0.1% -0.3% 123.53 KB 123.38 KB 38.84 KB 38.73 KB NODE_PROFILING
ReactDOMServer-dev.js -3.8% -3.2% 139.73 KB 134.44 KB 35.46 KB 34.31 KB FB_WWW_DEV
react-dom-unstable-fizz.browser.development.js -7.1% -11.7% 3.88 KB 3.61 KB 1.55 KB 1.37 KB UMD_DEV
react-dom-unstable-fizz.node.development.js -10.7% -11.8% 4.42 KB 3.94 KB 1.65 KB 1.46 KB NODE_DEV
react-dom.development.mjs n/a n/a 0 B 857.84 KB 0 B 195.96 KB ESM_DEV
ReactDOMServer-prod.js -0.4% -0.5% 48.91 KB 48.73 KB 11.18 KB 11.13 KB FB_WWW_PROD
react-dom-unstable-fizz.browser.production.min.js -1.0% -0.3% 1.21 KB 1.2 KB 711 B 709 B UMD_PROD
react-dom-unstable-fizz.node.production.min.js -1.9% -1.7% 1.21 KB 1.19 KB 698 B 686 B NODE_PROD
react-dom.production.min.mjs n/a n/a 0 B 127.07 KB 0 B 40.48 KB ESM_PROD
ReactDOMUnstableNativeDependencies-dev.js -8.1% -10.0% 58.19 KB 53.49 KB 14.79 KB 13.31 KB FB_WWW_DEV
react-dom-unstable-fizz.browser.development.js -13.4% -13.4% 3.71 KB 3.21 KB 1.5 KB 1.3 KB NODE_DEV
react-dom-unstable-fizz.node.development.mjs n/a n/a 0 B 3.85 KB 0 B 1.41 KB ESM_DEV
ReactDOMUnstableNativeDependencies-prod.js 0.0% 🔺+0.1% 26.11 KB 26.12 KB 5.26 KB 5.27 KB FB_WWW_PROD
react-dom-unstable-fizz.browser.production.min.js -2.2% -1.6% 1.05 KB 1.03 KB 641 B 631 B NODE_PROD
react-dom-unstable-fizz.node.production.min.mjs n/a n/a 0 B 1.37 KB 0 B 722 B ESM_PROD
ReactTestUtils-dev.js -3.3% -4.6% 51.28 KB 49.61 KB 13.93 KB 13.28 KB FB_WWW_DEV
react-dom-server.browser.development.js -0.2% -3.9% 140.46 KB 140.25 KB 36.91 KB 35.48 KB UMD_DEV
react-dom-server.node.development.js -5.0% -5.0% 137.5 KB 130.63 KB 36.14 KB 34.33 KB NODE_DEV
react-dom-unstable-fizz.browser.development.mjs n/a n/a 0 B 3.13 KB 0 B 1.25 KB ESM_DEV
react-dom-server.browser.production.min.js -0.1% -0.0% 20.39 KB 20.38 KB 7.48 KB 7.48 KB UMD_PROD
react-dom-server.node.production.min.js -0.1% -0.2% 20.72 KB 20.69 KB 7.61 KB 7.59 KB NODE_PROD
react-dom-unstable-fizz.browser.production.min.mjs n/a n/a 0 B 1.23 KB 0 B 691 B ESM_PROD

react-flight-dom-webpack

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-flight-dom-webpack-server.browser.production.min.js -0.9% -1.2% 2.65 KB 2.63 KB 1.26 KB 1.25 KB NODE_PROD
react-flight-dom-webpack-server.node.production.min.mjs n/a n/a 0 B 2.99 KB 0 B 1.3 KB ESM_PROD
react-flight-dom-webpack.development.js +1.0% -4.9% 8.71 KB 8.79 KB 2.6 KB 2.47 KB UMD_DEV
react-flight-dom-webpack.production.min.js -0.4% -0.4% 2.89 KB 2.87 KB 1.34 KB 1.33 KB UMD_PROD
react-flight-dom-webpack.development.js -5.6% -6.5% 8.54 KB 8.06 KB 2.55 KB 2.39 KB NODE_DEV
react-flight-dom-webpack.production.min.js -0.9% -1.1% 2.72 KB 2.69 KB 1.28 KB 1.27 KB NODE_PROD
react-flight-dom-webpack-server.browser.development.js +1.0% -5.4% 9.31 KB 9.4 KB 3.07 KB 2.9 KB UMD_DEV
react-flight-dom-webpack-server.node.development.js -4.9% -6.0% 10 KB 9.52 KB 3.27 KB 3.07 KB NODE_DEV
react-flight-dom-webpack.development.mjs n/a n/a 0 B 7.97 KB 0 B 2.34 KB ESM_DEV
react-flight-dom-webpack-server.browser.production.min.js -0.4% -0.4% 2.84 KB 2.83 KB 1.33 KB 1.33 KB UMD_PROD
react-flight-dom-webpack-server.node.production.min.js -0.8% -1.1% 2.81 KB 2.79 KB 1.29 KB 1.27 KB NODE_PROD
react-flight-dom-webpack.production.min.mjs n/a n/a 0 B 2.88 KB 0 B 1.29 KB ESM_PROD
react-flight-dom-webpack-server.browser.development.js -5.6% -6.9% 9.1 KB 8.59 KB 3.02 KB 2.81 KB NODE_DEV
react-flight-dom-webpack-server.node.development.mjs n/a n/a 0 B 9.43 KB 0 B 3.03 KB ESM_DEV
react-flight-dom-webpack-server.browser.development.mjs n/a n/a 0 B 8.5 KB 0 B 2.77 KB ESM_DEV
react-flight-dom-webpack-server.browser.production.min.mjs n/a n/a 0 B 2.83 KB 0 B 1.28 KB ESM_PROD
ReactFlightDOMClient-dev.js -5.7% -7.1% 8.45 KB 7.97 KB 2.52 KB 2.34 KB FB_WWW_DEV
ReactFlightDOMClient-prod.js -4.3% -1.9% 6.36 KB 6.09 KB 1.84 KB 1.8 KB FB_WWW_PROD
ReactFlightDOMServer-dev.js -5.0% -6.0% 9.98 KB 9.49 KB 3.24 KB 3.05 KB FB_WWW_DEV
ReactFlightDOMServer-prod.js -3.6% -2.0% 5.89 KB 5.68 KB 1.75 KB 1.71 KB FB_WWW_PROD

react-noop-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-noop-renderer-flight-server.development.js -8.9% -4.7% 2.18 KB 1.99 KB 962 B 917 B NODE_DEV
react-noop-renderer-flight-client.development.mjs n/a n/a 0 B 1.34 KB 0 B 679 B ESM_DEV
react-noop-renderer-flight-server.production.min.js -2.4% -2.6% 1007 B 983 B 568 B 553 B NODE_PROD
react-noop-renderer-flight-client.production.min.mjs n/a n/a 0 B 551 B 0 B 397 B ESM_PROD
react-noop-renderer.production.min.js -0.3% -0.4% 11.85 KB 11.81 KB 3.78 KB 3.77 KB NODE_PROD
react-noop-renderer-persistent.production.min.mjs n/a n/a 0 B 12.04 KB 0 B 3.76 KB ESM_PROD
react-noop-renderer.development.mjs n/a n/a 0 B 34.42 KB 0 B 7.87 KB ESM_DEV
react-noop-renderer.production.min.mjs n/a n/a 0 B 12.01 KB 0 B 3.75 KB ESM_PROD
react-noop-renderer-flight-client.development.js -11.9% -5.8% 1.63 KB 1.43 KB 779 B 734 B NODE_DEV
react-noop-renderer-flight-client.production.min.js -4.2% -3.8% 574 B 550 B 423 B 407 B NODE_PROD
react-noop-renderer-server.development.js -8.0% -4.9% 1.98 KB 1.82 KB 907 B 863 B NODE_DEV
react-noop-renderer-flight-server.development.mjs n/a n/a 0 B 1.9 KB 0 B 862 B ESM_DEV
react-noop-renderer-server.production.min.js -2.7% -2.9% 901 B 877 B 514 B 499 B NODE_PROD
react-noop-renderer-flight-server.production.min.mjs n/a n/a 0 B 991 B 0 B 540 B ESM_PROD
react-noop-renderer-persistent.development.js -1.7% -1.2% 35.11 KB 34.51 KB 8.02 KB 7.93 KB NODE_DEV
react-noop-renderer-server.development.mjs n/a n/a 0 B 1.73 KB 0 B 809 B ESM_DEV
react-noop-renderer-persistent.production.min.js -0.3% -0.5% 11.87 KB 11.83 KB 3.79 KB 3.77 KB NODE_PROD
react-noop-renderer-server.production.min.mjs n/a n/a 0 B 881 B 0 B 487 B ESM_PROD
react-noop-renderer.development.js -1.6% -1.2% 35 KB 34.45 KB 8.01 KB 7.91 KB NODE_DEV
react-noop-renderer-persistent.development.mjs n/a n/a 0 B 34.48 KB 0 B 7.88 KB ESM_DEV

react-is

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-is.production.min.mjs n/a n/a 0 B 2.41 KB 0 B 941 B ESM_PROD
react-is.development.js +4.6% +1.3% 8.79 KB 9.19 KB 2.63 KB 2.67 KB UMD_DEV
react-is.production.min.js 🔺+0.5% 0.0% 2.52 KB 2.53 KB 975 B 975 B UMD_PROD
react-is.development.js 0.0% -0.0% 8.61 KB 8.61 KB 2.59 KB 2.58 KB NODE_DEV
react-is.production.min.js 0.0% -0.1% 2.52 KB 2.52 KB 907 B 906 B NODE_PROD
react-is.development.mjs n/a n/a 0 B 7.89 KB 0 B 2.43 KB ESM_DEV
ReactIs-dev.js -0.0% +0.1% 7.03 KB 7.02 KB 1.88 KB 1.88 KB FB_WWW_DEV
ReactIs-prod.js -0.0% -0.8% 5.23 KB 5.23 KB 1.26 KB 1.25 KB FB_WWW_PROD

react-interactions

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-interactions-events/context-menu.development.js +1.3% +2.3% 2.5 KB 2.54 KB 970 B 992 B NODE_DEV
react-interactions-events/drag.development.mjs n/a n/a 0 B 6.93 KB 0 B 2.19 KB ESM_DEV
ReactEventsInput-prod.js 🔺+0.7% 🔺+1.2% 3.22 KB 3.24 KB 1.15 KB 1.17 KB FB_WWW_PROD
react-interactions-events/press.production.min.js 🔺+1.0% 🔺+1.8% 2.66 KB 2.69 KB 1.1 KB 1.12 KB UMD_PROD
react-interactions-events/press-legacy.production.min.js 🔺+0.2% 🔺+0.4% 7.28 KB 7.29 KB 2.78 KB 2.79 KB NODE_PROD
react-interactions-events/scroll.production.min.mjs n/a n/a 0 B 2.56 KB 0 B 1.12 KB ESM_PROD
react-interactions-events/context-menu.production.min.js 🔺+1.2% 🔺+1.6% 1.21 KB 1.23 KB 679 B 690 B NODE_PROD
react-interactions-events/drag.production.min.mjs n/a n/a 0 B 3.04 KB 0 B 1.43 KB ESM_PROD
ReactEventsTap-dev.js -1.9% -4.1% 17.92 KB 17.59 KB 3.88 KB 3.72 KB FB_WWW_DEV
ReactEventsPressLegacy-dev.js +0.1% +0.2% 23.7 KB 23.73 KB 5.87 KB 5.88 KB FB_WWW_DEV
react-interactions-events/swipe.development.js +6.6% +2.8% 6.01 KB 6.41 KB 1.63 KB 1.68 KB UMD_DEV
react-interactions-events/tap.development.js -1.9% -3.8% 18 KB 17.66 KB 3.87 KB 3.73 KB NODE_DEV
ReactEventsContextMenu-dev.js +1.0% +1.4% 2.46 KB 2.48 KB 934 B 947 B FB_WWW_DEV
react-interactions-events/focus.development.js +5.7% +1.9% 13.31 KB 14.07 KB 2.79 KB 2.84 KB UMD_DEV
react-interactions-events/hover.development.js +0.5% +1.4% 6.83 KB 6.87 KB 1.52 KB 1.54 KB NODE_DEV
react-interactions-events/input.development.mjs n/a n/a 0 B 4.29 KB 0 B 1.38 KB ESM_DEV
ReactEventsPressLegacy-prod.js 🔺+0.1% 🔺+0.1% 17.07 KB 17.09 KB 3.82 KB 3.82 KB FB_WWW_PROD
react-interactions-events/swipe.production.min.js 🔺+1.1% 🔺+2.3% 2.46 KB 2.49 KB 1.11 KB 1.14 KB UMD_PROD
react-interactions-events/tap.production.min.js 🔺+0.2% 🔺+0.5% 6.16 KB 6.17 KB 2.33 KB 2.34 KB NODE_PROD
ReactEventsContextMenu-prod.js 🔺+0.9% 🔺+0.6% 2.21 KB 2.23 KB 801 B 806 B FB_WWW_PROD
react-interactions-events/focus.production.min.js 🔺+0.5% 🔺+1.1% 4.83 KB 4.85 KB 1.59 KB 1.61 KB UMD_PROD
react-interactions-events/hover.production.min.js 🔺+0.5% 🔺+1.1% 2.96 KB 2.97 KB 1.08 KB 1.1 KB NODE_PROD
react-interactions-events/input.production.min.mjs n/a n/a 0 B 1.79 KB 0 B 963 B ESM_PROD
ReactEventsPress-dev.js +0.4% +0.8% 7.19 KB 7.22 KB 2.14 KB 2.15 KB FB_WWW_DEV
react-interactions-events/scroll.development.js +6.7% +2.9% 6.32 KB 6.74 KB 1.66 KB 1.71 KB UMD_DEV
react-interactions-events/swipe.development.js +0.6% +1.2% 5.83 KB 5.87 KB 1.59 KB 1.61 KB NODE_DEV
react-interactions-events/tap.development.mjs n/a n/a 0 B 17.57 KB 0 B 3.68 KB ESM_DEV
react-interactions-events/drag.development.js +6.6% +2.6% 5.24 KB 5.58 KB 1.55 KB 1.59 KB UMD_DEV
react-interactions-events/focus.development.js +0.3% +0.6% 13.13 KB 13.16 KB 2.74 KB 2.76 KB NODE_DEV
react-interactions-events/hover.development.mjs n/a n/a 0 B 6.78 KB 0 B 1.5 KB ESM_DEV
ReactEventsPress-prod.js 🔺+0.4% 🔺+0.5% 4.61 KB 4.63 KB 1.24 KB 1.25 KB FB_WWW_PROD
react-interactions-events/scroll.production.min.js 🔺+1.0% 🔺+2.1% 2.64 KB 2.67 KB 1.16 KB 1.18 KB UMD_PROD
react-interactions-events/swipe.production.min.js 🔺+0.6% 🔺+1.2% 2.28 KB 2.29 KB 1.06 KB 1.07 KB NODE_PROD
react-interactions-events/tap.production.min.mjs n/a n/a 0 B 6.49 KB 0 B 2.41 KB ESM_PROD
react-interactions-events/drag.production.min.js 🔺+1.2% 🔺+2.4% 2.26 KB 2.29 KB 1.08 KB 1.11 KB UMD_PROD
react-interactions-events/focus.production.min.js 🔺+0.3% 🔺+0.7% 4.65 KB 4.67 KB 1.54 KB 1.55 KB NODE_PROD
react-interactions-events/hover.production.min.mjs n/a n/a 0 B 3.02 KB 0 B 1.12 KB ESM_PROD
ReactEventsKeyboard-dev.js -2.4% -1.5% 5.89 KB 5.75 KB 2.23 KB 2.2 KB FB_WWW_DEV
react-interactions-events/press-legacy.development.js +5.2% +1.4% 24.66 KB 25.94 KB 6.16 KB 6.25 KB UMD_DEV
react-interactions-events/scroll.development.js +0.5% +1.3% 6.13 KB 6.17 KB 1.62 KB 1.64 KB NODE_DEV
react-interactions-events/swipe.development.mjs n/a n/a 0 B 5.77 KB 0 B 1.57 KB ESM_DEV
react-interactions-events/context-menu.development.js +6.9% +4.2% 2.69 KB 2.88 KB 1014 B 1.03 KB UMD_DEV
react-interactions-events/drag.development.js +0.4% +1.1% 7 KB 7.02 KB 2.22 KB 2.24 KB NODE_DEV
react-interactions-events/focus.development.mjs n/a n/a 0 B 13.07 KB 0 B 2.71 KB ESM_DEV
ReactEventsKeyboard-prod.js 🔺+0.5% 🔺+0.7% 4.02 KB 4.04 KB 1.42 KB 1.43 KB FB_WWW_PROD
react-interactions-events/press-legacy.production.min.js 🔺+0.4% 🔺+0.9% 7.46 KB 7.49 KB 2.84 KB 2.86 KB UMD_PROD
react-interactions-events/scroll.production.min.js 🔺+0.6% 🔺+1.1% 2.46 KB 2.47 KB 1.1 KB 1.11 KB NODE_PROD
react-interactions-events/swipe.production.min.mjs n/a n/a 0 B 2.38 KB 0 B 1.12 KB ESM_PROD
react-interactions-events/context-menu.production.min.js 🔺+1.9% 🔺+3.4% 1.4 KB 1.43 KB 737 B 762 B UMD_PROD
react-interactions-events/drag.production.min.js 🔺+0.5% 🔺+0.7% 2.9 KB 2.91 KB 1.39 KB 1.4 KB NODE_PROD
react-interactions-events/focus.production.min.mjs n/a n/a 0 B 4.75 KB 0 B 1.54 KB ESM_PROD
ReactEventsInput-dev.js +0.6% +1.1% 4.41 KB 4.43 KB 1.39 KB 1.4 KB FB_WWW_DEV
react-interactions-events/press.development.js +5.8% +2.2% 9.08 KB 9.6 KB 2.67 KB 2.73 KB UMD_DEV
react-interactions-events/press-legacy.development.js +0.2% +0.4% 24.47 KB 24.51 KB 6.11 KB 6.13 KB NODE_DEV
react-interactions-events/scroll.development.mjs n/a n/a 0 B 6.07 KB 0 B 1.6 KB ESM_DEV
ReactEventsHover-dev.js +0.4% +0.8% 6.75 KB 6.78 KB 1.52 KB 1.53 KB FB_WWW_DEV
react-interactions-events/keyboard.development.js +3.8% +0.1% 6.1 KB 6.33 KB 2.29 KB 2.3 KB UMD_DEV
react-interactions-events/press.development.js +0.4% +0.9% 8.79 KB 8.82 KB 2.6 KB 2.62 KB NODE_DEV
react-interactions-events/press-legacy.development.mjs n/a n/a 0 B 24.42 KB 0 B 6.1 KB ESM_DEV
ReactEventsTap-prod.js 🔺+0.2% 🔺+0.3% 14.19 KB 14.22 KB 3.03 KB 3.04 KB FB_WWW_PROD
react-interactions-events/context-menu.development.mjs n/a n/a 0 B 2.44 KB 0 B 945 B ESM_DEV
ReactEventsHover-prod.js 🔺+0.4% 🔺+0.6% 5.95 KB 5.97 KB 1.38 KB 1.39 KB FB_WWW_PROD
react-interactions-events/keyboard.production.min.js 🔺+1.1% 🔺+1.8% 2.44 KB 2.47 KB 1.24 KB 1.26 KB UMD_PROD
react-interactions-events/press.production.min.js 🔺+0.6% 🔺+1.0% 2.37 KB 2.39 KB 1.02 KB 1.04 KB NODE_PROD
react-interactions-events/press-legacy.production.min.mjs n/a n/a 0 B 7.42 KB 0 B 2.87 KB ESM_PROD
react-interactions-events/context-menu.production.min.mjs n/a n/a 0 B 1.29 KB 0 B 694 B ESM_PROD
ReactEventsSwipe-dev.js +0.4% +0.7% 6.02 KB 6.04 KB 1.59 KB 1.6 KB FB_WWW_DEV
ReactEventsFocus-dev.js +0.2% +0.4% 13.28 KB 13.31 KB 2.79 KB 2.8 KB FB_WWW_DEV
react-interactions-events/input.development.js +6.6% +3.2% 4.54 KB 4.83 KB 1.45 KB 1.5 KB UMD_DEV
react-interactions-events/keyboard.development.js -2.4% -1.4% 5.92 KB 5.78 KB 2.25 KB 2.22 KB NODE_DEV
react-interactions-events/press.development.mjs n/a n/a 0 B 8.72 KB 0 B 2.58 KB ESM_DEV
ReactEventsSwipe-prod.js -0.0% 🔺+0.2% 4.8 KB 4.79 KB 1.38 KB 1.39 KB FB_WWW_PROD
ReactEventsFocus-prod.js 🔺+0.2% 🔺+0.4% 9.92 KB 9.94 KB 2.01 KB 2.02 KB FB_WWW_PROD
react-interactions-events/input.production.min.js 🔺+1.4% 🔺+2.2% 1.85 KB 1.88 KB 993 B 1015 B UMD_PROD
react-interactions-events/keyboard.production.min.js 🔺+0.6% 🔺+1.0% 2.27 KB 2.28 KB 1.19 KB 1.2 KB NODE_PROD
react-interactions-events/press.production.min.mjs n/a n/a 0 B 2.38 KB 0 B 1.02 KB ESM_PROD
ReactEventsScroll-dev.js +0.4% +0.7% 6.21 KB 6.23 KB 1.63 KB 1.64 KB FB_WWW_DEV
react-interactions-events/tap.development.js +3.9% -2.7% 18.18 KB 18.88 KB 3.92 KB 3.82 KB UMD_DEV
ReactEventsDrag-dev.js +0.5% +0.5% 5.09 KB 5.12 KB 1.44 KB 1.45 KB FB_WWW_DEV
react-interactions-events/hover.development.js +7.0% +3.1% 7.02 KB 7.51 KB 1.56 KB 1.61 KB UMD_DEV
react-interactions-events/input.development.js +0.8% +1.6% 4.35 KB 4.39 KB 1.41 KB 1.43 KB NODE_DEV
react-interactions-events/keyboard.development.mjs n/a n/a 0 B 5.68 KB 0 B 2.17 KB ESM_DEV
ReactEventsScroll-prod.js 🔺+0.5% 🔺+0.5% 4.93 KB 4.95 KB 1.42 KB 1.42 KB FB_WWW_PROD
react-interactions-events/tap.production.min.js 🔺+0.4% 🔺+1.2% 6.33 KB 6.35 KB 2.38 KB 2.4 KB UMD_PROD
ReactEventsDrag-prod.js 🔺+0.5% 🔺+0.6% 3.83 KB 3.85 KB 1.21 KB 1.21 KB FB_WWW_PROD
react-interactions-events/hover.production.min.js 🔺+0.8% 🔺+1.9% 3.13 KB 3.16 KB 1.14 KB 1.16 KB UMD_PROD
react-interactions-events/input.production.min.js 🔺+0.9% 🔺+1.4% 1.67 KB 1.69 KB 926 B 939 B NODE_PROD
react-interactions-events/keyboard.production.min.mjs n/a n/a 0 B 2.33 KB 0 B 1.22 KB ESM_PROD

react-art

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
ReactART-dev.js -8.6% -7.5% 617.71 KB 564.85 KB 128.39 KB 118.74 KB FB_WWW_DEV
react-art.development.js -10.6% -9.3% 604.28 KB 539.95 KB 128.67 KB 116.75 KB NODE_DEV
react-art.production.min.js -0.4% -0.2% 71.64 KB 71.34 KB 21.48 KB 21.44 KB NODE_PROD
react-art.development.mjs n/a n/a 0 B 540 KB 0 B 116.81 KB ESM_DEV
react-art.production.min.mjs n/a n/a 0 B 76.35 KB 0 B 23.27 KB ESM_PROD
ReactART-prod.js -1.6% -0.8% 236.13 KB 232.42 KB 39.79 KB 39.48 KB FB_WWW_PROD
react-art.development.js -5.1% -7.2% 673.64 KB 639.34 KB 146.07 KB 135.48 KB UMD_DEV
react-art.production.min.js -0.2% -0.2% 106.67 KB 106.43 KB 32.42 KB 32.34 KB UMD_PROD

scheduler

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
scheduler.development.js -8.0% -6.6% 25.06 KB 23.06 KB 6.45 KB 6.02 KB NODE_DEV
scheduler-unstable_mock.development.mjs n/a n/a 0 B 21.05 KB 0 B 5.08 KB ESM_DEV
SchedulerMock-prod.js -0.0% 🔺+0.4% 12.06 KB 12.06 KB 2.84 KB 2.85 KB FB_WWW_PROD
Scheduler-dev.js -0.1% -0.1% 25.49 KB 25.48 KB 6.53 KB 6.52 KB FB_WWW_DEV
Scheduler-prod.js -0.0% 🔺+0.3% 12.53 KB 12.53 KB 3.05 KB 3.06 KB FB_WWW_PROD
Scheduler-profiling.js +1.3% +0.5% 17.12 KB 17.35 KB 3.95 KB 3.97 KB FB_WWW_PROFILING
SchedulerTracing-dev.js -5.2% -5.2% 9.81 KB 9.3 KB 2.1 KB 1.99 KB FB_WWW_DEV
scheduler-unstable_mock.development.js +3.7% -0.4% 22.67 KB 23.5 KB 5.39 KB 5.37 KB UMD_DEV
SchedulerTracing-prod.js -0.2% -0.2% 899 B 897 B 425 B 424 B FB_WWW_PROD
scheduler-unstable_mock.production.min.js 🔺+0.2% 🔺+0.6% 4.75 KB 4.76 KB 1.99 KB 2 KB UMD_PROD
SchedulerTracing-profiling.js -0.1% 0.0% 6.77 KB 6.76 KB 1.22 KB 1.22 KB FB_WWW_PROFILING
scheduler-unstable_mock.development.js -2.6% -1.6% 22.48 KB 21.9 KB 5.33 KB 5.25 KB NODE_DEV
scheduler-unstable_mock.production.min.js 0.0% 🔺+0.5% 4.74 KB 4.74 KB 1.93 KB 1.94 KB NODE_PROD
scheduler.production.min.js -0.0% 🔺+0.3% 5.01 KB 5.01 KB 2.01 KB 2.02 KB NODE_PROD
scheduler-unstable_mock.production.min.mjs n/a n/a 0 B 4.91 KB 0 B 2.03 KB ESM_PROD
scheduler-tracing.development.js -21.3% -35.3% 11.27 KB 8.88 KB 2.83 KB 1.83 KB NODE_DEV
scheduler.development.mjs n/a n/a 0 B 22.49 KB 0 B 5.91 KB ESM_DEV
scheduler-tracing.production.min.js 0.0% 🔺+0.8% 741 B 741 B 391 B 394 B NODE_PROD
scheduler.production.min.mjs n/a n/a 0 B 4.94 KB 0 B 2.09 KB ESM_PROD
scheduler-tracing.profiling.min.js 0.0% +0.4% 3.26 KB 3.26 KB 1001 B 1005 B NODE_PROFILING
scheduler-tracing.development.mjs n/a n/a 0 B 8.42 KB 0 B 1.72 KB ESM_DEV
scheduler-tracing.production.min.mjs n/a n/a 0 B 667 B 0 B 371 B ESM_PROD
SchedulerMock-dev.js -0.4% -0.8% 22.89 KB 22.8 KB 5.42 KB 5.38 KB FB_WWW_DEV

react-native-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
ReactNativeRenderer-prod.js -1.4% -0.9% 276.93 KB 273.06 KB 47.47 KB 47.04 KB RN_OSS_PROD
ReactFabric-prod.js -1.4% -0.8% 268.98 KB 265.2 KB 46.11 KB 45.73 KB RN_FB_PROD
ReactNativeRenderer-profiling.js -1.2% -0.7% 285.89 KB 282.53 KB 49.2 KB 48.84 KB RN_OSS_PROFILING
ReactFabric-profiling.js -1.3% -0.8% 279.11 KB 275.39 KB 47.99 KB 47.62 KB RN_FB_PROFILING
ReactNativeRenderer-dev.js -10.6% -9.1% 749.83 KB 670.17 KB 158.69 KB 144.23 KB RN_FB_DEV
ReactNativeRenderer-prod.js -1.4% -0.9% 277.32 KB 273.45 KB 47.54 KB 47.12 KB RN_FB_PROD
ReactNativeRenderer-profiling.js -1.2% -0.7% 286.28 KB 282.92 KB 49.27 KB 48.91 KB RN_FB_PROFILING
ReactFabric-dev.js -13.8% -12.3% 755.07 KB 651 KB 159.44 KB 139.75 KB RN_OSS_DEV
ReactFabric-prod.js -1.4% -0.8% 268.63 KB 264.85 KB 46.04 KB 45.65 KB RN_OSS_PROD
ReactFabric-profiling.js -1.3% -0.8% 278.76 KB 275.05 KB 47.92 KB 47.55 KB RN_OSS_PROFILING
ReactNativeRenderer-dev.js -11.0% -9.3% 749.65 KB 667.37 KB 158.61 KB 143.84 KB RN_OSS_DEV
ReactFabric-dev.js -13.4% -12.2% 755.25 KB 653.71 KB 159.52 KB 140.13 KB RN_FB_DEV

create-subscription

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
create-subscription.development.mjs n/a n/a 0 B 6.12 KB 0 B 2.16 KB ESM_DEV
create-subscription.production.min.mjs n/a n/a 0 B 1.93 KB 0 B 968 B ESM_PROD
create-subscription.development.js -7.6% -9.6% 6.81 KB 6.29 KB 2.47 KB 2.23 KB NODE_DEV
create-subscription.production.min.js 0.0% 🔺+0.2% 1.99 KB 1.99 KB 1002 B 1004 B NODE_PROD

react-refresh

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-refresh-babel.production.min.js -0.4% -0.6% 7.2 KB 7.18 KB 2.58 KB 2.57 KB NODE_PROD
react-refresh-runtime.production.min.mjs n/a n/a 0 B 372 B 0 B 267 B ESM_PROD
react-refresh-babel.development.mjs n/a n/a 0 B 23.68 KB 0 B 5.39 KB ESM_DEV
react-refresh-babel.production.min.mjs n/a n/a 0 B 7.17 KB 0 B 2.56 KB ESM_PROD
ReactFreshRuntime-dev.js -1.2% -1.5% 18 KB 17.79 KB 5.37 KB 5.29 KB FB_WWW_DEV
react-refresh-runtime.development.js -1.1% -1.5% 17.96 KB 17.76 KB 5.39 KB 5.31 KB NODE_DEV
react-refresh-babel.development.js -1.2% -1.2% 24.07 KB 23.77 KB 5.5 KB 5.44 KB NODE_DEV
react-refresh-runtime.development.mjs n/a n/a 0 B 17.67 KB 0 B 5.26 KB ESM_DEV

react-reconciler

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-reconciler-reflection.production.min.js 0.0% 🔺+0.1% 2.86 KB 2.86 KB 1.24 KB 1.24 KB NODE_PROD
react-reconciler-persistent.development.js -9.2% -8.4% 602.77 KB 547.53 KB 126.76 KB 116.14 KB NODE_DEV
react-reconciler-persistent.production.min.js -0.3% -0.3% 72.4 KB 72.16 KB 21.35 KB 21.29 KB NODE_PROD
react-reconciler.development.js -6.5% -6.3% 605.3 KB 566.2 KB 127.87 KB 119.84 KB NODE_DEV
react-reconciler.production.min.js -0.3% -0.2% 74.67 KB 74.43 KB 21.9 KB 21.86 KB NODE_PROD
react-reconciler-reflection.development.js -15.5% -20.9% 19.09 KB 16.13 KB 6.23 KB 4.93 KB NODE_DEV

react-test-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-test-renderer-shallow.production.min.js -0.1% -0.1% 11.6 KB 11.58 KB 3.58 KB 3.58 KB UMD_PROD
react-test-renderer.development.js -9.4% -11.0% 618.55 KB 560.17 KB 131.77 KB 117.29 KB UMD_DEV
react-test-renderer-shallow.development.js -0.4% -0.3% 33.07 KB 32.92 KB 8.54 KB 8.51 KB NODE_DEV
react-test-renderer.production.min.js -0.4% -0.5% 71.65 KB 71.33 KB 21.95 KB 21.83 KB UMD_PROD
react-test-renderer-shallow.production.min.js -0.2% -0.5% 11.73 KB 11.7 KB 3.69 KB 3.67 KB NODE_PROD
react-test-renderer.development.js -13.6% -12.0% 613.82 KB 530.5 KB 130.58 KB 114.9 KB NODE_DEV
react-test-renderer-shallow.development.mjs n/a n/a 0 B 32.8 KB 0 B 8.47 KB ESM_DEV
react-test-renderer.production.min.js -0.4% -0.5% 71.35 KB 71.04 KB 21.56 KB 21.45 KB NODE_PROD
react-test-renderer-shallow.production.min.mjs n/a n/a 0 B 11.93 KB 0 B 3.71 KB ESM_PROD
react-test-renderer.development.mjs n/a n/a 0 B 530.52 KB 0 B 114.95 KB ESM_DEV
react-test-renderer.production.min.mjs n/a n/a 0 B 75.92 KB 0 B 23.22 KB ESM_PROD
ReactShallowRenderer-dev.js -0.2% -0.5% 33.98 KB 33.9 KB 8.43 KB 8.38 KB FB_WWW_DEV
ReactTestRenderer-dev.js -11.3% -10.1% 629.38 KB 558.44 KB 130.97 KB 117.77 KB FB_WWW_DEV
react-test-renderer-shallow.development.js +2.5% -0.6% 39.11 KB 40.1 KB 10.01 KB 9.95 KB UMD_DEV

react-cache

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
ReactCache-dev.js -1.1% -1.2% 7.39 KB 7.31 KB 2.39 KB 2.36 KB FB_WWW_DEV
react-cache.development.js -0.8% -0.9% 8.97 KB 8.9 KB 3.04 KB 3.01 KB NODE_DEV
react-cache.production.min.js 0.0% 🔺+0.2% 2.2 KB 2.2 KB 1.13 KB 1.13 KB NODE_PROD
react-cache.development.mjs n/a n/a 0 B 8.7 KB 0 B 2.93 KB ESM_DEV
react-cache.production.min.mjs n/a n/a 0 B 2.22 KB 0 B 1.09 KB ESM_PROD
ReactCache-prod.js -1.0% -0.2% 5.16 KB 5.11 KB 1.62 KB 1.61 KB FB_WWW_PROD
react-cache.development.js +4.9% +0.3% 9.19 KB 9.65 KB 3.11 KB 3.12 KB UMD_DEV
react-cache.production.min.js 🔺+0.5% 🔺+1.0% 2.39 KB 2.41 KB 1.22 KB 1.23 KB UMD_PROD

jest-react

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
jest-react.development.js -10.1% -13.5% 6.68 KB 6.01 KB 2.5 KB 2.16 KB NODE_DEV
jest-react.production.min.js 0.0% 🔺+0.1% 2.55 KB 2.55 KB 1.29 KB 1.29 KB NODE_PROD
jest-react.development.mjs n/a n/a 0 B 5.83 KB 0 B 2.08 KB ESM_DEV
jest-react.production.min.mjs n/a n/a 0 B 2.58 KB 0 B 1.3 KB ESM_PROD
JestReact-dev.js -14.4% -20.5% 4.64 KB 3.97 KB 1.72 KB 1.37 KB FB_WWW_DEV
JestReact-prod.js -0.1% 0.0% 3.4 KB 3.4 KB 1.26 KB 1.26 KB FB_WWW_PROD

eslint-plugin-react-hooks

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
eslint-plugin-react-hooks.development.js 0.0% +0.2% 76.2 KB 76.23 KB 17.5 KB 17.53 KB NODE_DEV
eslint-plugin-react-hooks.production.min.js 🔺+0.1% 🔺+0.2% 20.45 KB 20.46 KB 6.98 KB 6.99 KB NODE_PROD
eslint-plugin-react-hooks.development.mjs n/a n/a 0 B 76.14 KB 0 B 17.49 KB ESM_DEV
eslint-plugin-react-hooks.production.min.mjs n/a n/a 0 B 20.59 KB 0 B 6.9 KB ESM_PROD

react-debug-tools

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-debug-tools.development.js -0.8% -1.2% 20.15 KB 19.99 KB 5.88 KB 5.81 KB NODE_DEV
react-debug-tools.production.min.js 🔺+0.2% 🔺+0.3% 6.24 KB 6.25 KB 2.46 KB 2.47 KB NODE_PROD
react-debug-tools.development.mjs n/a n/a 0 B 19.9 KB 0 B 5.76 KB ESM_DEV
react-debug-tools.production.min.mjs n/a n/a 0 B 6.54 KB 0 B 2.51 KB ESM_PROD

react-flight

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-flight.development.js -8.3% -10.8% 8.14 KB 7.46 KB 2.68 KB 2.39 KB NODE_DEV
react-flight.production.min.js 🔺+0.6% 🔺+1.0% 2.5 KB 2.52 KB 1.18 KB 1.19 KB NODE_PROD

react-server

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-server-flight.development.js -8.3% -11.3% 10.32 KB 9.47 KB 3.31 KB 2.93 KB NODE_DEV
react-server-flight.production.min.js 🔺+0.5% 🔺+1.1% 2.86 KB 2.88 KB 1.29 KB 1.3 KB NODE_PROD
react-server.development.js -14.1% -18.7% 4.83 KB 4.15 KB 1.77 KB 1.44 KB NODE_DEV
react-server.production.min.js 🔺+2.9% 🔺+3.6% 1.22 KB 1.25 KB 672 B 696 B NODE_PROD

use-subscription

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
use-subscription.development.js 0.0% -0.1% 5 KB 5 KB 1.96 KB 1.96 KB NODE_DEV
use-subscription.production.min.js 0.0% 🔺+0.4% 897 B 897 B 506 B 508 B NODE_PROD
use-subscription.development.mjs n/a n/a 0 B 4.85 KB 0 B 1.87 KB ESM_DEV
use-subscription.production.min.mjs n/a n/a 0 B 851 B 0 B 493 B ESM_PROD

ReactDOM: size: 🔺+0.2%, gzip: 🔺+0.6%

React: size: -0.7%, gzip: -0.5%

Size changes (experimental)

Generated by 🚫 dangerJS against 87594d7

@sizebot
Copy link

sizebot commented Nov 25, 2019

Details of bundled changes.

Comparing: 6470e0f...87594d7

react

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react.development.js -7.9% -10.7% 112.96 KB 104.03 KB 28.68 KB 25.6 KB UMD_DEV
react.production.min.js -1.0% -0.6% 12.31 KB 12.19 KB 4.83 KB 4.8 KB UMD_PROD
react.profiling.min.js -0.8% -0.7% 15.83 KB 15.7 KB 5.94 KB 5.9 KB UMD_PROFILING
react.development.js -16.4% -14.7% 72.7 KB 60.79 KB 19.06 KB 16.27 KB NODE_DEV
react.production.min.js -2.6% -1.9% 6.51 KB 6.34 KB 2.71 KB 2.66 KB NODE_PROD
react.development.mjs n/a n/a 0 B 60.7 KB 0 B 16.22 KB ESM_DEV
react.production.min.mjs n/a n/a 0 B 6.53 KB 0 B 2.75 KB ESM_PROD

react-dom

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-dom.development.mjs n/a n/a 0 B 833.87 KB 0 B 191.3 KB ESM_DEV
react-dom-server.browser.production.min.js -0.1% -0.2% 19.85 KB 19.83 KB 7.38 KB 7.36 KB NODE_PROD
react-dom.production.min.mjs n/a n/a 0 B 123.46 KB 0 B 39.44 KB ESM_PROD
react-dom-unstable-fizz.node.development.js -10.8% -11.9% 4.4 KB 3.93 KB 1.64 KB 1.45 KB NODE_DEV
react-dom-unstable-fizz.browser.development.mjs n/a n/a 0 B 3.11 KB 0 B 1.24 KB ESM_DEV
react-dom-test-utils.development.js -6.4% -9.6% 54.47 KB 50.98 KB 15.21 KB 13.75 KB NODE_DEV
react-dom-unstable-fizz.browser.production.min.mjs n/a n/a 0 B 1.21 KB 0 B 682 B ESM_PROD
react-dom-test-utils.production.min.js -0.1% -0.0% 10.94 KB 10.93 KB 4.08 KB 4.08 KB NODE_PROD
react-dom-server.node.development.js -6.1% -5.6% 137.48 KB 129.12 KB 36.13 KB 34.11 KB NODE_DEV
react-dom.development.js -7.8% -9.6% 953.98 KB 879.66 KB 215.58 KB 194.81 KB UMD_DEV
react-dom-test-utils.development.mjs n/a n/a 0 B 50.89 KB 0 B 13.71 KB ESM_DEV
react-dom-server.node.production.min.js -0.1% -0.2% 20.26 KB 20.23 KB 7.53 KB 7.51 KB NODE_PROD
react-dom.production.min.js -0.1% -0.1% 116.18 KB 116.05 KB 37.45 KB 37.42 KB UMD_PROD
react-dom-test-utils.production.min.mjs n/a n/a 0 B 11.98 KB 0 B 4.59 KB ESM_PROD
react-dom.profiling.min.js -0.1% -0.2% 119.75 KB 119.6 KB 38.56 KB 38.48 KB UMD_PROFILING
react-dom-server.browser.development.js -1.3% -4.5% 140.44 KB 138.66 KB 36.91 KB 35.27 KB UMD_DEV
react-dom-server.node.development.mjs n/a n/a 0 B 129.02 KB 0 B 34.07 KB ESM_DEV
react-dom.development.js -12.0% -10.6% 948.05 KB 833.86 KB 214 KB 191.24 KB NODE_DEV
react-dom-server.browser.production.min.js -0.1% -0.0% 19.93 KB 19.92 KB 7.39 KB 7.38 KB UMD_PROD
react-dom-server.node.production.min.mjs n/a n/a 0 B 21.03 KB 0 B 7.76 KB ESM_PROD
react-dom.production.min.js -0.1% -0.4% 116.29 KB 116.13 KB 36.86 KB 36.72 KB NODE_PROD
react-dom.profiling.min.js -0.1% -0.2% 119.98 KB 119.83 KB 37.87 KB 37.79 KB NODE_PROFILING
react-dom-server.browser.development.js -6.1% -5.6% 136.37 KB 128 KB 35.91 KB 33.89 KB NODE_DEV
react-dom-unstable-native-dependencies.development.js -3.3% -8.4% 60.13 KB 58.12 KB 15.79 KB 14.46 KB UMD_DEV
react-dom-server.browser.development.mjs n/a n/a 0 B 127.9 KB 0 B 33.85 KB ESM_DEV
react-dom-unstable-fizz.node.production.min.js -2.0% -1.6% 1.2 KB 1.17 KB 689 B 678 B NODE_PROD
react-dom-unstable-native-dependencies.production.min.js 🔺+0.2% 🔺+0.6% 10.72 KB 10.75 KB 3.67 KB 3.69 KB UMD_PROD
react-dom-server.browser.production.min.mjs n/a n/a 0 B 20.62 KB 0 B 7.62 KB ESM_PROD
react-dom-unstable-fizz.browser.development.js -7.1% -11.7% 3.87 KB 3.59 KB 1.54 KB 1.36 KB UMD_DEV
react-dom-unstable-fizz.node.development.mjs n/a n/a 0 B 3.84 KB 0 B 1.4 KB ESM_DEV
react-dom-unstable-native-dependencies.development.js -7.8% -9.4% 59.8 KB 55.15 KB 15.66 KB 14.19 KB NODE_DEV
react-dom-unstable-fizz.browser.production.min.js -1.0% -0.3% 1.2 KB 1.19 KB 703 B 701 B UMD_PROD
react-dom-unstable-fizz.node.production.min.mjs n/a n/a 0 B 1.36 KB 0 B 714 B ESM_PROD
react-dom-unstable-native-dependencies.production.min.js 🔺+0.1% 🔺+0.2% 10.46 KB 10.48 KB 3.57 KB 3.58 KB NODE_PROD
react-dom-unstable-fizz.browser.development.js -13.5% -13.5% 3.7 KB 3.2 KB 1.49 KB 1.29 KB NODE_DEV
react-dom-test-utils.development.js -1.8% -8.6% 56.2 KB 55.2 KB 15.55 KB 14.21 KB UMD_DEV
react-dom-unstable-native-dependencies.development.mjs n/a n/a 0 B 55.05 KB 0 B 14.14 KB ESM_DEV
react-dom-unstable-fizz.browser.production.min.js -2.3% -1.6% 1.04 KB 1.02 KB 633 B 623 B NODE_PROD
react-dom-test-utils.production.min.js 🔺+0.1% 🔺+0.3% 11.17 KB 11.17 KB 4.14 KB 4.15 KB UMD_PROD
react-dom-unstable-native-dependencies.production.min.mjs n/a n/a 0 B 10.8 KB 0 B 3.64 KB ESM_PROD

react-flight-dom-webpack

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-flight-dom-webpack.development.js +1.0% -4.9% 8.7 KB 8.78 KB 2.59 KB 2.46 KB UMD_DEV
react-flight-dom-webpack.production.min.js -0.4% -0.4% 2.87 KB 2.86 KB 1.33 KB 1.33 KB UMD_PROD
react-flight-dom-webpack-server.node.production.min.js -0.8% -1.1% 2.8 KB 2.77 KB 1.28 KB 1.26 KB NODE_PROD
react-flight-dom-webpack-server.browser.development.js +1.0% -5.4% 9.3 KB 9.38 KB 3.06 KB 2.89 KB UMD_DEV
react-flight-dom-webpack-server.node.development.mjs n/a n/a 0 B 9.42 KB 0 B 3.02 KB ESM_DEV
react-flight-dom-webpack-server.browser.production.min.js -0.4% -0.4% 2.83 KB 2.82 KB 1.33 KB 1.32 KB UMD_PROD
react-flight-dom-webpack-server.node.production.min.mjs n/a n/a 0 B 2.97 KB 0 B 1.29 KB ESM_PROD
react-flight-dom-webpack-server.browser.development.js -5.6% -6.9% 9.09 KB 8.58 KB 3.01 KB 2.8 KB NODE_DEV
react-flight-dom-webpack-server.browser.production.min.js -0.9% -1.2% 2.64 KB 2.61 KB 1.26 KB 1.24 KB NODE_PROD
react-flight-dom-webpack-server.browser.development.mjs n/a n/a 0 B 8.49 KB 0 B 2.76 KB ESM_DEV
react-flight-dom-webpack-server.browser.production.min.mjs n/a n/a 0 B 2.82 KB 0 B 1.27 KB ESM_PROD
react-flight-dom-webpack.development.js -5.6% -6.5% 8.52 KB 8.05 KB 2.55 KB 2.38 KB NODE_DEV
react-flight-dom-webpack.production.min.js -0.9% -1.1% 2.7 KB 2.68 KB 1.27 KB 1.26 KB NODE_PROD
react-flight-dom-webpack.development.mjs n/a n/a 0 B 7.96 KB 0 B 2.33 KB ESM_DEV
react-flight-dom-webpack.production.min.mjs n/a n/a 0 B 2.86 KB 0 B 1.28 KB ESM_PROD
react-flight-dom-webpack-server.node.development.js -4.9% -6.0% 9.99 KB 9.51 KB 3.26 KB 3.07 KB NODE_DEV

react-art

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-art.development.mjs n/a n/a 0 B 523.49 KB 0 B 113.33 KB ESM_DEV
react-art.production.min.mjs n/a n/a 0 B 74.24 KB 0 B 22.72 KB ESM_PROD
react-art.development.js -7.6% -9.6% 673.62 KB 622.2 KB 146.06 KB 132.06 KB UMD_DEV
react-art.production.min.js -0.2% -0.3% 104.59 KB 104.37 KB 31.82 KB 31.74 KB UMD_PROD
react-art.development.js -13.4% -12.0% 604.25 KB 523.43 KB 128.67 KB 113.27 KB NODE_DEV
react-art.production.min.js -0.4% -0.5% 69.61 KB 69.32 KB 21.03 KB 20.93 KB NODE_PROD

react-native-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
ReactNativeRenderer-prod.js -1.4% -0.9% 277.31 KB 273.43 KB 47.54 KB 47.11 KB RN_FB_PROD
ReactFabric-profiling.js -1.3% -0.8% 278.75 KB 275.04 KB 47.91 KB 47.54 KB RN_OSS_PROFILING
ReactNativeRenderer-profiling.js -1.2% -0.7% 286.26 KB 282.91 KB 49.26 KB 48.9 KB RN_FB_PROFILING
ReactNativeRenderer-dev.js -11.0% -9.3% 749.64 KB 667.36 KB 158.6 KB 143.84 KB RN_OSS_DEV
ReactNativeRenderer-prod.js -1.4% -0.9% 276.92 KB 273.04 KB 47.46 KB 47.03 KB RN_OSS_PROD
ReactNativeRenderer-profiling.js -1.2% -0.7% 285.88 KB 282.52 KB 49.19 KB 48.83 KB RN_OSS_PROFILING
ReactFabric-dev.js -13.8% -12.3% 755.05 KB 650.99 KB 159.43 KB 139.75 KB RN_OSS_DEV
ReactNativeRenderer-dev.js -10.6% -9.1% 749.82 KB 670.15 KB 158.69 KB 144.22 KB RN_FB_DEV
ReactFabric-prod.js -1.4% -0.8% 268.62 KB 264.84 KB 46.03 KB 45.65 KB RN_OSS_PROD
ReactFabric-dev.js -13.4% -12.2% 755.24 KB 653.69 KB 159.51 KB 140.12 KB RN_FB_DEV
ReactFabric-prod.js -1.4% -0.8% 268.96 KB 265.19 KB 46.1 KB 45.72 KB RN_FB_PROD
ReactFabric-profiling.js -1.3% -0.8% 279.1 KB 275.38 KB 47.98 KB 47.62 KB RN_FB_PROFILING

react-noop-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-noop-renderer-flight-server.development.mjs n/a n/a 0 B 1.89 KB 0 B 854 B ESM_DEV
react-noop-renderer-flight-server.production.min.mjs n/a n/a 0 B 978 B 0 B 530 B ESM_PROD
react-noop-renderer-persistent.production.min.js -0.3% -0.4% 11.85 KB 11.82 KB 3.78 KB 3.77 KB NODE_PROD
react-noop-renderer-flight-client.development.js -12.0% -6.0% 1.62 KB 1.42 KB 771 B 725 B NODE_DEV
react-noop-renderer-persistent.development.mjs n/a n/a 0 B 34.47 KB 0 B 7.87 KB ESM_DEV
react-noop-renderer-flight-client.production.min.js -4.3% -3.6% 561 B 537 B 414 B 399 B NODE_PROD
react-noop-renderer-persistent.production.min.mjs n/a n/a 0 B 12.02 KB 0 B 3.75 KB ESM_PROD
react-noop-renderer-flight-client.development.mjs n/a n/a 0 B 1.33 KB 0 B 670 B ESM_DEV
react-noop-renderer.development.js -1.6% -1.2% 34.98 KB 34.44 KB 8 KB 7.9 KB NODE_DEV
react-noop-renderer-flight-client.production.min.mjs n/a n/a 0 B 538 B 0 B 388 B ESM_PROD
react-noop-renderer.production.min.js -0.3% -0.4% 11.83 KB 11.8 KB 3.77 KB 3.76 KB NODE_PROD
react-noop-renderer-flight-server.development.js -9.0% -4.8% 2.17 KB 1.98 KB 953 B 907 B NODE_DEV
react-noop-renderer.development.mjs n/a n/a 0 B 34.41 KB 0 B 7.86 KB ESM_DEV
react-noop-renderer-flight-server.production.min.js -2.4% -2.9% 994 B 970 B 558 B 542 B NODE_PROD
react-noop-renderer.production.min.mjs n/a n/a 0 B 12 KB 0 B 3.75 KB ESM_PROD
react-noop-renderer-server.development.js -8.1% -4.9% 1.97 KB 1.81 KB 899 B 855 B NODE_DEV
react-noop-renderer-server.production.min.js -2.7% -2.8% 888 B 864 B 504 B 490 B NODE_PROD
react-noop-renderer-server.development.mjs n/a n/a 0 B 1.72 KB 0 B 800 B ESM_DEV
react-noop-renderer-server.production.min.mjs n/a n/a 0 B 868 B 0 B 476 B ESM_PROD
react-noop-renderer-persistent.development.js -1.7% -1.2% 35.1 KB 34.49 KB 8.01 KB 7.92 KB NODE_DEV

react-cache

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-cache.development.mjs n/a n/a 0 B 8.69 KB 0 B 2.92 KB ESM_DEV
react-cache.production.min.mjs n/a n/a 0 B 2.2 KB 0 B 1.08 KB ESM_PROD
react-cache.development.js +4.9% +0.3% 9.18 KB 9.63 KB 3.1 KB 3.11 KB UMD_DEV
react-cache.production.min.js 🔺+0.5% 🔺+1.0% 2.38 KB 2.39 KB 1.21 KB 1.22 KB UMD_PROD
react-cache.development.js -0.8% -0.8% 8.96 KB 8.88 KB 3.03 KB 3 KB NODE_DEV
react-cache.production.min.js 0.0% 🔺+0.2% 2.19 KB 2.19 KB 1.13 KB 1.13 KB NODE_PROD

react-interactions

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-interactions-events/context-menu.development.mjs n/a n/a 0 B 2.43 KB 0 B 937 B ESM_DEV
react-interactions-events/hover.production.min.js 🔺+0.5% 🔺+1.2% 2.94 KB 2.96 KB 1.07 KB 1.09 KB NODE_PROD
react-interactions-events/swipe.development.js +6.6% +2.6% 6 KB 6.4 KB 1.63 KB 1.67 KB UMD_DEV
react-interactions-events/tap.development.mjs n/a n/a 0 B 17.56 KB 0 B 3.68 KB ESM_DEV
react-interactions-events/context-menu.production.min.mjs n/a n/a 0 B 1.27 KB 0 B 685 B ESM_PROD
react-interactions-events/press.development.js +0.4% +0.9% 8.78 KB 8.81 KB 2.59 KB 2.61 KB NODE_DEV
react-interactions-events/swipe.production.min.js 🔺+1.1% 🔺+2.2% 2.45 KB 2.47 KB 1.11 KB 1.13 KB UMD_PROD
react-interactions-events/tap.production.min.mjs n/a n/a 0 B 6.48 KB 0 B 2.4 KB ESM_PROD
react-interactions-events/input.development.js +6.6% +3.1% 4.52 KB 4.82 KB 1.45 KB 1.49 KB UMD_DEV
react-interactions-events/keyboard.development.mjs n/a n/a 0 B 5.67 KB 0 B 2.17 KB ESM_DEV
react-interactions-events/scroll.production.min.js 🔺+0.6% 🔺+1.1% 2.44 KB 2.46 KB 1.09 KB 1.1 KB NODE_PROD
react-interactions-events/drag.development.js +0.4% +1.1% 6.98 KB 7.01 KB 2.21 KB 2.23 KB NODE_DEV
react-interactions-events/input.production.min.js 🔺+1.4% 🔺+2.2% 1.84 KB 1.87 KB 984 B 1006 B UMD_PROD
react-interactions-events/keyboard.production.min.mjs n/a n/a 0 B 2.32 KB 0 B 1.21 KB ESM_PROD
react-interactions-events/drag.production.min.js 🔺+0.5% 🔺+0.8% 2.88 KB 2.9 KB 1.38 KB 1.39 KB NODE_PROD
react-interactions-events/press-legacy.development.js +5.2% +1.4% 24.65 KB 25.92 KB 6.16 KB 6.24 KB UMD_DEV
react-interactions-events/scroll.development.mjs n/a n/a 0 B 6.06 KB 0 B 1.59 KB ESM_DEV
react-interactions-events/input.development.js +0.8% +1.5% 4.34 KB 4.37 KB 1.4 KB 1.42 KB NODE_DEV
react-interactions-events/press-legacy.production.min.js 🔺+0.4% 🔺+0.8% 7.45 KB 7.48 KB 2.83 KB 2.85 KB UMD_PROD
react-interactions-events/scroll.production.min.mjs n/a n/a 0 B 2.55 KB 0 B 1.11 KB ESM_PROD
react-interactions-events/context-menu.development.js +6.9% +4.3% 2.68 KB 2.86 KB 1007 B 1.03 KB UMD_DEV
react-interactions-events/drag.development.mjs n/a n/a 0 B 6.92 KB 0 B 2.19 KB ESM_DEV
react-interactions-events/input.production.min.js 🔺+0.9% 🔺+1.3% 1.66 KB 1.68 KB 917 B 929 B NODE_PROD
react-interactions-events/tap.development.js +3.9% -2.7% 18.17 KB 18.87 KB 3.92 KB 3.81 KB UMD_DEV
react-interactions-events/context-menu.production.min.js 🔺+1.9% 🔺+3.4% 1.39 KB 1.42 KB 729 B 754 B UMD_PROD
react-interactions-events/drag.production.min.mjs n/a n/a 0 B 3.02 KB 0 B 1.42 KB ESM_PROD
react-interactions-events/press-legacy.development.js +0.2% +0.4% 24.46 KB 24.5 KB 6.1 KB 6.12 KB NODE_DEV
react-interactions-events/tap.production.min.js 🔺+0.4% 🔺+1.2% 6.31 KB 6.34 KB 2.37 KB 2.4 KB UMD_PROD
react-interactions-events/hover.development.js +7.1% +3.1% 7 KB 7.5 KB 1.56 KB 1.6 KB UMD_DEV
react-interactions-events/input.development.mjs n/a n/a 0 B 4.28 KB 0 B 1.37 KB ESM_DEV
react-interactions-events/press-legacy.production.min.js 🔺+0.2% 🔺+0.4% 7.27 KB 7.28 KB 2.77 KB 2.78 KB NODE_PROD
react-interactions-events/context-menu.development.js +1.3% +2.3% 2.49 KB 2.52 KB 961 B 983 B NODE_DEV
react-interactions-events/hover.production.min.js 🔺+0.8% 🔺+1.9% 3.12 KB 3.15 KB 1.13 KB 1.15 KB UMD_PROD
react-interactions-events/input.production.min.mjs n/a n/a 0 B 1.78 KB 0 B 953 B ESM_PROD
react-interactions-events/tap.development.js -1.9% -3.8% 17.99 KB 17.65 KB 3.86 KB 3.72 KB NODE_DEV
react-interactions-events/context-menu.production.min.js 🔺+1.2% 🔺+1.6% 1.2 KB 1.22 KB 669 B 680 B NODE_PROD
react-interactions-events/press.development.js +5.8% +2.2% 9.06 KB 9.59 KB 2.66 KB 2.72 KB UMD_DEV
react-interactions-events/press-legacy.development.mjs n/a n/a 0 B 24.41 KB 0 B 6.09 KB ESM_DEV
react-interactions-events/tap.production.min.js 🔺+0.2% 🔺+0.5% 6.15 KB 6.16 KB 2.32 KB 2.33 KB NODE_PROD
react-interactions-events/hover.development.js +0.5% +1.3% 6.82 KB 6.86 KB 1.51 KB 1.53 KB NODE_DEV
react-interactions-events/press.production.min.js 🔺+1.0% 🔺+1.8% 2.65 KB 2.67 KB 1.1 KB 1.12 KB UMD_PROD
react-interactions-events/press-legacy.production.min.mjs n/a n/a 0 B 7.41 KB 0 B 2.86 KB ESM_PROD
react-interactions-events/focus.development.js +5.7% +2.0% 13.3 KB 14.06 KB 2.78 KB 2.83 KB UMD_DEV
react-interactions-events/hover.development.mjs n/a n/a 0 B 6.76 KB 0 B 1.49 KB ESM_DEV
react-interactions-events/press.production.min.js 🔺+0.6% 🔺+1.1% 2.36 KB 2.38 KB 1.01 KB 1.03 KB NODE_PROD
react-interactions-events/focus.production.min.js 🔺+0.5% 🔺+1.0% 4.81 KB 4.84 KB 1.59 KB 1.6 KB UMD_PROD
react-interactions-events/hover.production.min.mjs n/a n/a 0 B 3.01 KB 0 B 1.11 KB ESM_PROD
react-interactions-events/swipe.development.js +0.6% +1.2% 5.82 KB 5.85 KB 1.58 KB 1.6 KB NODE_DEV
react-interactions-events/keyboard.development.js +3.8% +0.1% 6.09 KB 6.32 KB 2.29 KB 2.29 KB UMD_DEV
react-interactions-events/press.development.mjs n/a n/a 0 B 8.71 KB 0 B 2.57 KB ESM_DEV
react-interactions-events/swipe.production.min.js 🔺+0.6% 🔺+1.1% 2.27 KB 2.28 KB 1.05 KB 1.06 KB NODE_PROD
react-interactions-events/focus.development.js +0.3% +0.6% 13.11 KB 13.15 KB 2.73 KB 2.75 KB NODE_DEV
react-interactions-events/keyboard.production.min.js 🔺+1.1% 🔺+1.7% 2.43 KB 2.46 KB 1.23 KB 1.26 KB UMD_PROD
react-interactions-events/press.production.min.mjs n/a n/a 0 B 2.37 KB 0 B 1.01 KB ESM_PROD
react-interactions-events/focus.production.min.js 🔺+0.3% 🔺+0.8% 4.64 KB 4.65 KB 1.53 KB 1.54 KB NODE_PROD
react-interactions-events/scroll.development.js +6.8% +3.1% 6.3 KB 6.73 KB 1.65 KB 1.71 KB UMD_DEV
react-interactions-events/swipe.development.mjs n/a n/a 0 B 5.76 KB 0 B 1.56 KB ESM_DEV
react-interactions-events/keyboard.development.js -2.4% -1.4% 5.9 KB 5.76 KB 2.24 KB 2.21 KB NODE_DEV
react-interactions-events/scroll.production.min.js 🔺+1.0% 🔺+2.1% 2.63 KB 2.65 KB 1.15 KB 1.17 KB UMD_PROD
react-interactions-events/swipe.production.min.mjs n/a n/a 0 B 2.37 KB 0 B 1.11 KB ESM_PROD
react-interactions-events/drag.development.js +6.6% +2.6% 5.23 KB 5.57 KB 1.54 KB 1.58 KB UMD_DEV
react-interactions-events/focus.development.mjs n/a n/a 0 B 13.06 KB 0 B 2.7 KB ESM_DEV
react-interactions-events/keyboard.production.min.js 🔺+0.7% 🔺+1.0% 2.25 KB 2.27 KB 1.18 KB 1.19 KB NODE_PROD
react-interactions-events/drag.production.min.js 🔺+1.2% 🔺+2.3% 2.25 KB 2.28 KB 1.07 KB 1.1 KB UMD_PROD
react-interactions-events/focus.production.min.mjs n/a n/a 0 B 4.74 KB 0 B 1.53 KB ESM_PROD
react-interactions-events/scroll.development.js +0.5% +1.3% 6.12 KB 6.15 KB 1.61 KB 1.63 KB NODE_DEV

react-flight

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-flight.development.js -6.5% -9.0% 8.13 KB 7.6 KB 2.67 KB 2.43 KB NODE_DEV
react-flight.production.min.js 🔺+0.6% 🔺+1.0% 2.49 KB 2.5 KB 1.17 KB 1.18 KB NODE_PROD

react-test-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-test-renderer-shallow.development.js -0.4% -0.3% 33.05 KB 32.91 KB 8.53 KB 8.5 KB NODE_DEV
react-test-renderer.development.mjs n/a n/a 0 B 530.49 KB 0 B 114.94 KB ESM_DEV
react-test-renderer.production.min.mjs n/a n/a 0 B 75.89 KB 0 B 23.2 KB ESM_PROD
react-test-renderer-shallow.development.js +2.5% -0.6% 39.1 KB 40.08 KB 10 KB 9.94 KB UMD_DEV
react-test-renderer-shallow.production.min.js -0.1% -0.1% 11.58 KB 11.57 KB 3.58 KB 3.57 KB UMD_PROD
react-test-renderer-shallow.production.min.js -0.2% -0.5% 11.72 KB 11.69 KB 3.68 KB 3.66 KB NODE_PROD
react-test-renderer.development.js -9.4% -11.0% 618.53 KB 560.14 KB 131.76 KB 117.28 KB UMD_DEV
react-test-renderer-shallow.development.mjs n/a n/a 0 B 32.79 KB 0 B 8.46 KB ESM_DEV
react-test-renderer.production.min.js -0.4% -0.5% 71.62 KB 71.3 KB 21.93 KB 21.82 KB UMD_PROD
react-test-renderer-shallow.production.min.mjs n/a n/a 0 B 11.92 KB 0 B 3.7 KB ESM_PROD
react-test-renderer.development.js -13.6% -12.0% 613.8 KB 530.48 KB 130.57 KB 114.88 KB NODE_DEV
react-test-renderer.production.min.js -0.4% -0.5% 71.33 KB 71.02 KB 21.54 KB 21.43 KB NODE_PROD

scheduler

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
scheduler.production.min.js -0.0% 🔺+0.3% 5 KB 5 KB 2 KB 2.01 KB NODE_PROD
scheduler-unstable_mock.development.js +3.7% -0.4% 22.66 KB 23.49 KB 5.39 KB 5.36 KB UMD_DEV
scheduler-unstable_mock.production.min.js 🔺+0.2% 🔺+0.5% 4.73 KB 4.74 KB 1.98 KB 1.99 KB UMD_PROD
scheduler-unstable_mock.development.js -2.6% -1.6% 22.47 KB 21.89 KB 5.33 KB 5.24 KB NODE_DEV
scheduler-unstable_mock.production.min.js 0.0% 🔺+0.5% 4.72 KB 4.72 KB 1.92 KB 1.93 KB NODE_PROD
scheduler-unstable_mock.development.mjs n/a n/a 0 B 21.04 KB 0 B 5.08 KB ESM_DEV
scheduler-unstable_mock.production.min.mjs n/a n/a 0 B 4.9 KB 0 B 2.02 KB ESM_PROD
scheduler.development.js -8.0% -6.6% 25.05 KB 23.05 KB 6.44 KB 6.02 KB NODE_DEV
scheduler.development.mjs n/a n/a 0 B 22.48 KB 0 B 5.91 KB ESM_DEV
scheduler.production.min.mjs n/a n/a 0 B 4.92 KB 0 B 2.08 KB ESM_PROD
scheduler-tracing.development.js -21.3% -35.4% 11.26 KB 8.86 KB 2.83 KB 1.83 KB NODE_DEV
scheduler-tracing.production.min.js 0.0% 🔺+0.8% 728 B 728 B 383 B 386 B NODE_PROD
scheduler-tracing.profiling.min.js 0.0% +0.4% 3.25 KB 3.25 KB 992 B 996 B NODE_PROFILING
scheduler-tracing.development.mjs n/a n/a 0 B 8.41 KB 0 B 1.72 KB ESM_DEV
scheduler-tracing.production.min.mjs n/a n/a 0 B 654 B 0 B 363 B ESM_PROD

jest-react

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
jest-react.development.mjs n/a n/a 0 B 5.82 KB 0 B 2.08 KB ESM_DEV
jest-react.production.min.mjs n/a n/a 0 B 2.57 KB 0 B 1.29 KB ESM_PROD
jest-react.development.js -10.1% -13.6% 6.67 KB 6 KB 2.49 KB 2.16 KB NODE_DEV
jest-react.production.min.js 0.0% 🔺+0.1% 2.54 KB 2.54 KB 1.28 KB 1.28 KB NODE_PROD

create-subscription

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
create-subscription.development.js -7.6% -9.6% 6.79 KB 6.27 KB 2.46 KB 2.23 KB NODE_DEV
create-subscription.production.min.js 0.0% 🔺+0.2% 1.98 KB 1.98 KB 994 B 996 B NODE_PROD
create-subscription.development.mjs n/a n/a 0 B 6.11 KB 0 B 2.15 KB ESM_DEV
create-subscription.production.min.mjs n/a n/a 0 B 1.92 KB 0 B 959 B ESM_PROD

react-is

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-is.production.min.js 0.0% -0.4% 2.5 KB 2.5 KB 903 B 899 B NODE_PROD
react-is.development.mjs n/a n/a 0 B 7.88 KB 0 B 2.42 KB ESM_DEV
react-is.production.min.mjs n/a n/a 0 B 2.4 KB 0 B 932 B ESM_PROD
react-is.development.js +4.6% +1.3% 8.78 KB 9.18 KB 2.63 KB 2.66 KB UMD_DEV
react-is.production.min.js 🔺+0.5% 🔺+0.1% 2.51 KB 2.52 KB 966 B 967 B UMD_PROD

react-refresh

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-refresh-runtime.production.min.js 0.0% 🔺+0.4% 368 B 368 B 265 B 266 B NODE_PROD
react-refresh-runtime.development.mjs n/a n/a 0 B 17.66 KB 0 B 5.25 KB ESM_DEV
react-refresh-runtime.production.min.mjs n/a n/a 0 B 359 B 0 B 258 B ESM_PROD
react-refresh-babel.development.js -1.2% -1.2% 24.06 KB 23.76 KB 5.5 KB 5.43 KB NODE_DEV
react-refresh-babel.production.min.js -0.4% -0.6% 7.19 KB 7.16 KB 2.57 KB 2.56 KB NODE_PROD
react-refresh-babel.development.mjs n/a n/a 0 B 23.67 KB 0 B 5.38 KB ESM_DEV
react-refresh-babel.production.min.mjs n/a n/a 0 B 7.15 KB 0 B 2.55 KB ESM_PROD
react-refresh-runtime.development.js -1.1% -1.5% 17.95 KB 17.75 KB 5.38 KB 5.3 KB NODE_DEV

react-server

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-server.development.js -17.3% -21.7% 4.82 KB 3.99 KB 1.76 KB 1.38 KB NODE_DEV
react-server.production.min.js 🔺+1.2% 🔺+2.0% 1.2 KB 1.22 KB 664 B 677 B NODE_PROD
react-server-flight.development.js -8.3% -11.3% 10.31 KB 9.45 KB 3.3 KB 2.93 KB NODE_DEV
react-server-flight.production.min.js 🔺+0.5% 🔺+1.1% 2.85 KB 2.87 KB 1.28 KB 1.3 KB NODE_PROD

react-reconciler

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-reconciler-persistent.production.min.js -0.3% -0.3% 72.38 KB 72.15 KB 21.34 KB 21.28 KB NODE_PROD
react-reconciler-reflection.development.js -15.5% -20.9% 19.08 KB 16.12 KB 6.23 KB 4.93 KB NODE_DEV
react-reconciler-reflection.production.min.js 0.0% 🔺+0.1% 2.85 KB 2.85 KB 1.24 KB 1.24 KB NODE_PROD
react-reconciler-persistent.development.js -9.2% -8.4% 602.76 KB 547.52 KB 126.75 KB 116.13 KB NODE_DEV
react-reconciler.development.js -9.4% -9.1% 605.29 KB 548.6 KB 127.86 KB 116.27 KB NODE_DEV
react-reconciler.production.min.js -0.4% -0.4% 72.37 KB 72.11 KB 21.34 KB 21.26 KB NODE_PROD

eslint-plugin-react-hooks

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
eslint-plugin-react-hooks.development.js 0.0% +0.2% 76.19 KB 76.22 KB 17.5 KB 17.53 KB NODE_DEV
eslint-plugin-react-hooks.production.min.js 🔺+0.1% 🔺+0.2% 20.44 KB 20.45 KB 6.97 KB 6.98 KB NODE_PROD
eslint-plugin-react-hooks.development.mjs n/a n/a 0 B 76.13 KB 0 B 17.48 KB ESM_DEV
eslint-plugin-react-hooks.production.min.mjs n/a n/a 0 B 20.57 KB 0 B 6.89 KB ESM_PROD

react-debug-tools

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-debug-tools.development.js -0.8% -1.2% 20.14 KB 19.98 KB 5.87 KB 5.8 KB NODE_DEV
react-debug-tools.production.min.js 🔺+0.2% 🔺+0.3% 6.22 KB 6.24 KB 2.45 KB 2.46 KB NODE_PROD
react-debug-tools.development.mjs n/a n/a 0 B 19.89 KB 0 B 5.75 KB ESM_DEV
react-debug-tools.production.min.mjs n/a n/a 0 B 6.53 KB 0 B 2.5 KB ESM_PROD

use-subscription

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
use-subscription.development.js 0.0% -0.1% 4.99 KB 4.99 KB 1.95 KB 1.95 KB NODE_DEV
use-subscription.production.min.js 0.0% 🔺+0.2% 884 B 884 B 498 B 499 B NODE_PROD
use-subscription.development.mjs n/a n/a 0 B 4.83 KB 0 B 1.87 KB ESM_DEV
use-subscription.production.min.mjs n/a n/a 0 B 838 B 0 B 483 B ESM_PROD

ReactDOM: size: -0.1%, gzip: -0.1%

React: size: -1.0%, gzip: -0.6%

Size changes (stable)

Generated by 🚫 dangerJS against 87594d7

@darthtrevino darthtrevino marked this pull request as ready for review November 28, 2019 07:12
@TrySound
Copy link
Contributor

I'm not done with my PR. I still wait til #15037 will be landed. Finishing my solution is waisting of your time. It does not solve issues with treeshaking.
I have an idea how to workaround it and will start working on it after rollup upgrade.

@darthtrevino
Copy link
Author

@TrySound I'm not sure I'd agree that it was a waste - at the very least I think I got something out of it - but whether the React team wants a solution that uses experimental node features is an unknown. If they are, I think pushing the needle forward on this is totally achievable.

@stale
Copy link

stale bot commented Mar 1, 2020

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution.

@stale stale bot added the Resolution: Stale Automatically closed due to inactivity label Mar 1, 2020
@stale
Copy link

stale bot commented Mar 8, 2020

Closing this pull request after a prolonged period of inactivity. If this issue is still present in the latest release, please ask for this pull request to be reopened. Thank you!

@stale stale bot closed this Mar 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Resolution: Stale Automatically closed due to inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants