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

Update Rollup version to 1.19.4 and fix breaking changes #15037

Merged
merged 119 commits into from Feb 20, 2020

Conversation

kunukn
Copy link
Contributor

@kunukn kunukn commented Mar 6, 2019

Purpose:
Stay up to date with build tool.

Main changes:

  • package.json
    Use latest rollup version and update the version of some of the rollup plugins.

  • Fix and use the rollup API breaking changes, mostly API naming changes.
    https://rollupjs.org/guide/en#deprecated-hooks

  • Re-add legacy behaviour using externalLiveBindings=false Rollup flag. It was deprecated by newer Rollup version.

    definition of legacy option: Rollup does not output getters when in legacy mode,

    [BREAKING] Deprecate the legacy option and thus IE8 support
    https://github.com/rollup/rollup/blob/master/CHANGELOG.md#0600

  • Add ignore rollup warnings, it was breaking the build.
    Rollup warning: CIRCULAR_DEPENDENCY

BUILD
yarn build react/index,react-dom/index --type=FB_WWW_PROD

Rollup changelog.
https://github.com/rollup/rollup/blob/master/CHANGELOG.md

getter description.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get

Babel plugin handbook
https://github.com/jamiebuilds/babel-handbook/blob/master/translations/en/plugin-handbook.md

@TrySound
Copy link
Contributor

TrySound commented Mar 6, 2019

There is another attempt already.
#13356

@kunukn
Copy link
Contributor Author

kunukn commented Mar 6, 2019

Thanks for the reference, I see it is from 2018 Aug-ish, maybe that PR is in idle state?

@kunukn
Copy link
Contributor Author

kunukn commented Mar 7, 2019

I have taken the legacy code changes from #13356 and merged into this branche.

@kunukn kunukn changed the title Update Rollup version to 1.4.1 Update Rollup version to 1.5.0 Mar 7, 2019
@kunukn kunukn changed the title Update Rollup version to 1.5.0 Update Rollup version to 1.6.0 Mar 8, 2019
@kunukn
Copy link
Contributor Author

kunukn commented Mar 15, 2019

EDIT: This is no longer relevant.

I merged the latest master into this feature branch, and now it fails due to remove-getters.js does not support transforming getters of this format.

var passiveBrowserEventsSupported = false;
try {
  var options = {
      get passive() {
        passiveBrowserEventsSupported = true;
      },
    };
   // code omitted
 } catch(err) {
  passiveBrowserEventsSupported = false;
}

This is used by checkPassiveEvents.js. It is a try catch, so the IE8 would probably skip this.
The test fails as false positive because the code has try catch to protect IE8 from crashing.

The getters transformer is due to supporting FB bundle and because the legacy option has been deprecated in newer Rollup version.

remove-getters.js should be changed to not throw error and having same behaviour as Rollup.legacy

@sizebot
Copy link

sizebot commented Mar 17, 2019

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

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

Details of bundled changes.

Comparing: 34aaec6...58861bc

react

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react.development.js -9.0% -11.4% 118.96 KB 108.2 KB 30.14 KB 26.7 KB UMD_DEV
react.production.min.js -0.7% -0.5% 12.68 KB 12.6 KB 5.03 KB 5.01 KB UMD_PROD
react.profiling.min.js -0.5% -0.6% 16.08 KB 15.99 KB 6.05 KB 6.01 KB UMD_PROFILING
react.development.js -15.4% -14.0% 72.72 KB 61.49 KB 19.17 KB 16.49 KB NODE_DEV
react.production.min.js -1.5% -1.5% 6.66 KB 6.56 KB 2.77 KB 2.73 KB NODE_PROD
React-dev.js -2.7% -2.5% 70.65 KB 68.72 KB 18.21 KB 17.76 KB FB_WWW_DEV
React-prod.js -0.7% -1.1% 17.25 KB 17.12 KB 4.52 KB 4.47 KB FB_WWW_PROD
React-profiling.js -0.7% -1.1% 17.25 KB 17.12 KB 4.52 KB 4.47 KB FB_WWW_PROFILING

react-dom

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-dom.profiling.min.js -0.2% -0.2% 115.25 KB 114.99 KB 36.33 KB 36.25 KB NODE_PROFILING
react-dom-server.browser.development.js -0.9% -4.7% 140.9 KB 139.65 KB 36.96 KB 35.22 KB UMD_DEV
ReactDOM-dev.js -4.3% -3.6% 934.03 KB 893.74 KB 206.76 KB 199.29 KB FB_WWW_DEV
react-dom-server.browser.production.min.js -0.1% -0.0% 19.74 KB 19.72 KB 7.34 KB 7.34 KB UMD_PROD
react-dom-test-utils.development.js -2.5% -9.2% 57.22 KB 55.79 KB 15.78 KB 14.33 KB UMD_DEV
react-dom-unstable-fizz.browser.development.js -7.5% -11.8% 3.78 KB 3.5 KB 1.53 KB 1.35 KB UMD_DEV
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
ReactDOMUnstableNativeDependencies-dev.js -8.1% -9.6% 58.95 KB 54.17 KB 14.88 KB 13.44 KB FB_WWW_DEV
react-dom-unstable-fizz.browser.production.min.js -1.0% -0.3% 1.2 KB 1.19 KB 700 B 698 B UMD_PROD
ReactDOMFizzServer-dev.js -12.7% -13.5% 3.83 KB 3.34 KB 1.48 KB 1.28 KB FB_WWW_DEV
ReactDOMUnstableNativeDependencies-prod.js -0.1% -0.1% 26.1 KB 26.08 KB 5.27 KB 5.27 KB FB_WWW_PROD
ReactDOMFizzServer-prod.js -9.5% -4.7% 2.16 KB 1.95 KB 874 B 833 B FB_WWW_PROD
react-dom-test-utils.development.js -7.2% -10.2% 55.49 KB 51.52 KB 15.45 KB 13.86 KB NODE_DEV
react-dom-unstable-fizz.browser.development.js -13.8% -13.9% 3.61 KB 3.11 KB 1.48 KB 1.27 KB NODE_DEV
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-fizz.browser.production.min.js -2.3% -2.1% 1.04 KB 1.02 KB 632 B 619 B NODE_PROD
react-dom.development.js -6.2% -8.4% 909.92 KB 853.61 KB 206.63 KB 189.24 KB UMD_DEV
react-dom.production.min.js -0.2% -0.2% 111.64 KB 111.41 KB 36.01 KB 35.95 KB UMD_PROD
ReactTestUtils-dev.js -3.3% -4.1% 52.73 KB 51 KB 14.13 KB 13.55 KB FB_WWW_DEV
react-dom.profiling.min.js -0.2% -0.3% 115.05 KB 114.79 KB 37.05 KB 36.96 KB UMD_PROFILING
react-dom.development.js -10.5% -9.4% 904.21 KB 808.94 KB 205.02 KB 185.72 KB NODE_DEV
react-dom-server.node.development.js -5.7% -5.8% 138.05 KB 130.16 KB 36.24 KB 34.13 KB NODE_DEV
react-dom.production.min.js -0.2% -0.4% 111.61 KB 111.36 KB 35.42 KB 35.28 KB NODE_PROD
react-dom-server.node.production.min.js -0.1% -0.2% 20.07 KB 20.04 KB 7.48 KB 7.47 KB NODE_PROD
ReactDOM-prod.js -0.6% -0.3% 369.71 KB 367.42 KB 67.8 KB 67.6 KB FB_WWW_PROD
ReactDOM-profiling.js -0.9% -0.4% 374.44 KB 371.21 KB 68.85 KB 68.57 KB FB_WWW_PROFILING
react-dom-server.browser.development.js -5.8% -5.8% 137.03 KB 129.13 KB 36.02 KB 33.92 KB NODE_DEV
react-dom-server.browser.production.min.js -0.1% -0.3% 19.66 KB 19.63 KB 7.33 KB 7.31 KB NODE_PROD
react-dom-unstable-native-dependencies.development.js -3.4% -8.0% 60.71 KB 58.67 KB 15.84 KB 14.58 KB UMD_DEV
react-dom-unstable-native-dependencies.production.min.js 🔺+0.1% 🔺+0.3% 10.75 KB 10.76 KB 3.67 KB 3.68 KB UMD_PROD
ReactDOMServer-dev.js -2.6% -2.7% 141.34 KB 137.63 KB 35.6 KB 34.63 KB FB_WWW_DEV
ReactDOMServer-prod.js -0.4% -0.3% 48.13 KB 47.95 KB 11.05 KB 11.02 KB FB_WWW_PROD
react-dom-unstable-native-dependencies.development.js -7.8% -8.9% 60.39 KB 55.66 KB 15.72 KB 14.32 KB NODE_DEV
react-dom-unstable-fizz.node.development.js -12.3% -13.0% 3.87 KB 3.39 KB 1.51 KB 1.31 KB NODE_DEV
react-dom-unstable-native-dependencies.production.min.js 0.0% 🔺+0.1% 10.49 KB 10.49 KB 3.58 KB 3.58 KB NODE_PROD
react-dom-unstable-fizz.node.production.min.js -2.1% -2.1% 1.1 KB 1.08 KB 666 B 652 B NODE_PROD

react-art

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-art.development.js -5.9% -8.4% 650.82 KB 612.31 KB 142.06 KB 130.11 KB UMD_DEV
react-art.production.min.js -0.2% -0.3% 101.86 KB 101.69 KB 31.14 KB 31.04 KB UMD_PROD
react-art.development.js -11.6% -10.6% 581.69 KB 514.11 KB 124.67 KB 111.39 KB NODE_DEV
react-art.production.min.js -0.3% -0.4% 66.87 KB 66.64 KB 20.38 KB 20.31 KB NODE_PROD
ReactART-dev.js -6.7% -5.7% 596.69 KB 556.86 KB 124.38 KB 117.34 KB FB_WWW_DEV
ReactART-prod.js -1.4% -0.6% 221.98 KB 218.88 KB 37.77 KB 37.55 KB FB_WWW_PROD

react-native-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
ReactNativeRenderer-prod.js -1.4% -0.8% 269.8 KB 266.04 KB 46.26 KB 45.91 KB RN_OSS_PROD
ReactNativeRenderer-profiling.js -1.1% -0.6% 278.25 KB 275.09 KB 47.78 KB 47.47 KB RN_OSS_PROFILING
ReactFabric-prod.js -1.4% -0.8% 261.52 KB 257.87 KB 44.94 KB 44.6 KB RN_OSS_PROD
ReactFabric-profiling.js -1.3% -0.7% 270.32 KB 266.89 KB 46.45 KB 46.14 KB RN_OSS_PROFILING
ReactFabric-dev.js -11.3% -10.5% 735.91 KB 653.04 KB 155.89 KB 139.47 KB RN_FB_DEV
ReactFabric-prod.js -1.4% -0.8% 261.53 KB 257.87 KB 44.95 KB 44.61 KB RN_FB_PROD
ReactNativeRenderer-dev.js -9.6% -8.4% 729.35 KB 659.69 KB 154.73 KB 141.79 KB RN_OSS_DEV
ReactFabric-profiling.js -1.3% -0.7% 270.31 KB 266.89 KB 46.46 KB 46.15 KB RN_FB_PROFILING
ReactNativeRenderer-dev.js -9.0% -8.0% 729.51 KB 663.53 KB 154.8 KB 142.37 KB RN_FB_DEV
ReactNativeRenderer-prod.js -1.4% -0.8% 269.79 KB 266.04 KB 46.27 KB 45.92 KB RN_FB_PROD
ReactNativeRenderer-profiling.js -1.1% -0.6% 278.24 KB 275.08 KB 47.79 KB 47.48 KB RN_FB_PROFILING
ReactFabric-dev.js -11.7% -10.8% 735.74 KB 649.6 KB 155.82 KB 139 KB RN_OSS_DEV

react-cache

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
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% 🔺+0.9% 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.1% 2.19 KB 2.19 KB 1.12 KB 1.13 KB NODE_PROD
ReactCache-dev.js -1.1% -1.1% 7.39 KB 7.31 KB 2.39 KB 2.36 KB FB_WWW_DEV

scheduler

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
scheduler-unstable_mock.development.js +3.6% -0.6% 22.12 KB 22.92 KB 5.13 KB 5.1 KB UMD_DEV
scheduler-tracing.profiling.min.js 0.0% +0.3% 3.25 KB 3.25 KB 991 B 994 B NODE_PROFILING
scheduler-unstable_mock.production.min.js 🔺+0.2% 🔺+0.6% 4.73 KB 4.74 KB 1.98 KB 1.99 KB UMD_PROD
SchedulerTracing-dev.js -5.0% -4.6% 10.33 KB 9.82 KB 2.24 KB 2.13 KB FB_WWW_DEV
Scheduler-dev.js -1.4% -0.4% 31.87 KB 31.44 KB 8 KB 7.97 KB FB_WWW_DEV
Scheduler-prod.js 0.0% 🔺+0.2% 15.99 KB 15.99 KB 3.61 KB 3.61 KB FB_WWW_PROD
Scheduler-profiling.js 0.0% 0.0% 19.62 KB 19.62 KB 4.3 KB 4.3 KB FB_WWW_PROFILING
scheduler-tracing.development.js -24.2% -39.6% 11.69 KB 8.86 KB 3.03 KB 1.83 KB NODE_DEV
scheduler-tracing.production.min.js 0.0% 🔺+1.6% 728 B 728 B 382 B 388 B NODE_PROD
scheduler-unstable_mock.development.js -2.7% -1.7% 21.93 KB 21.35 KB 5.07 KB 4.99 KB NODE_DEV
SchedulerTracing-profiling.js 0.0% +0.2% 6.77 KB 6.77 KB 1.22 KB 1.22 KB FB_WWW_PROFILING
scheduler-unstable_mock.production.min.js 0.0% 🔺+0.5% 4.72 KB 4.72 KB 1.92 KB 1.93 KB NODE_PROD
SchedulerMock-dev.js -2.3% -1.3% 22.5 KB 21.99 KB 5.21 KB 5.14 KB FB_WWW_DEV
SchedulerMock-prod.js 0.0% 🔺+0.4% 12.06 KB 12.06 KB 2.84 KB 2.85 KB FB_WWW_PROD
scheduler.development.js -14.9% -11.2% 31.26 KB 26.6 KB 7.88 KB 7 KB NODE_DEV
scheduler.production.min.js -0.0% 🔺+0.2% 5.29 KB 5.29 KB 2.16 KB 2.17 KB NODE_PROD

react-events

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-events-focus.development.js +5.8% +1.8% 10.9 KB 11.54 KB 2.35 KB 2.39 KB UMD_DEV
react-events-press.development.js +5.1% +1.2% 21.23 KB 22.32 KB 4.97 KB 5.03 KB UMD_DEV
react-events-focus.production.min.js 🔺+0.3% 🔺+0.6% 4.08 KB 4.1 KB 1.38 KB 1.39 KB UMD_PROD
ReactEventsHover-dev.js 0.0% +0.4% 6.74 KB 6.74 KB 1.51 KB 1.52 KB FB_WWW_DEV
react-events-press.production.min.js 🔺+0.2% 🔺+0.5% 7.05 KB 7.06 KB 2.63 KB 2.64 KB UMD_PROD
ReactEventsScroll-dev.js 0.0% +0.5% 6.21 KB 6.21 KB 1.63 KB 1.64 KB FB_WWW_DEV
react-events-context-menu.development.js +6.1% +3.1% 2.67 KB 2.83 KB 999 B 1.01 KB UMD_DEV
react-events-input.development.js +6.1% +2.4% 4.52 KB 4.79 KB 1.44 KB 1.47 KB UMD_DEV
react-events-swipe.development.js +6.2% +2.0% 5.99 KB 6.36 KB 1.62 KB 1.65 KB UMD_DEV
react-events-context-menu.production.min.js 🔺+0.9% 🔺+1.4% 1.38 KB 1.39 KB 724 B 734 B UMD_PROD
ReactEventsDrag-dev.js 0.0% +0.3% 5.09 KB 5.1 KB 1.44 KB 1.45 KB FB_WWW_DEV
react-events-input.production.min.js 🔺+0.6% 🔺+1.1% 1.82 KB 1.83 KB 971 B 982 B UMD_PROD
ReactEventsKeyboard-dev.js 0.0% +0.6% 4.19 KB 4.19 KB 1.57 KB 1.58 KB FB_WWW_DEV
react-events-swipe.production.min.js 🔺+0.5% 🔺+1.3% 2.43 KB 2.45 KB 1.1 KB 1.12 KB UMD_PROD
react-events-context-menu.development.js +0.6% +1.3% 2.48 KB 2.49 KB 953 B 965 B NODE_DEV
react-events-input.development.js +0.3% +0.8% 4.33 KB 4.35 KB 1.39 KB 1.4 KB NODE_DEV
react-events-swipe.development.js +0.3% +0.7% 5.81 KB 5.82 KB 1.58 KB 1.59 KB NODE_DEV
react-events-context-menu.production.min.js 0.0% 🔺+0.2% 1.19 KB 1.19 KB 664 B 665 B NODE_PROD
react-events-input.production.min.js 0.0% 🔺+0.1% 1.64 KB 1.64 KB 905 B 906 B NODE_PROD
react-events-swipe.production.min.js 0.0% 🔺+0.1% 2.25 KB 2.25 KB 1.04 KB 1.04 KB NODE_PROD
react-events-hover.development.js +6.8% +2.4% 6.98 KB 7.45 KB 1.54 KB 1.58 KB UMD_DEV
react-events-scroll.development.js +6.4% +2.5% 6.29 KB 6.69 KB 1.65 KB 1.69 KB UMD_DEV
ReactEventsContextMenu-dev.js +0.1% +0.7% 2.46 KB 2.46 KB 934 B 941 B FB_WWW_DEV
react-events-hover.production.min.js 🔺+0.4% 🔺+0.9% 3.1 KB 3.11 KB 1.12 KB 1.13 KB UMD_PROD
ReactEventsInput-dev.js 0.0% +0.6% 4.41 KB 4.41 KB 1.39 KB 1.39 KB FB_WWW_DEV
react-events-scroll.production.min.js 🔺+0.4% 🔺+1.1% 2.61 KB 2.63 KB 1.14 KB 1.15 KB UMD_PROD
ReactEventsSwipe-dev.js 0.0% +0.4% 6.02 KB 6.02 KB 1.59 KB 1.6 KB FB_WWW_DEV
react-events-hover.development.js +0.2% +0.7% 6.8 KB 6.81 KB 1.5 KB 1.51 KB NODE_DEV
react-events-scroll.development.js +0.2% +0.7% 6.11 KB 6.12 KB 1.6 KB 1.61 KB NODE_DEV
react-events-hover.production.min.js 0.0% 🔺+0.1% 2.92 KB 2.92 KB 1.06 KB 1.06 KB NODE_PROD
react-events-scroll.production.min.js 0.0% 🔺+0.1% 2.43 KB 2.43 KB 1.08 KB 1.09 KB NODE_PROD
react-events-focus.development.js +0.2% +0.5% 10.72 KB 10.74 KB 2.31 KB 2.32 KB NODE_DEV
react-events-press.development.js +0.1% +0.2% 21.05 KB 21.07 KB 4.92 KB 4.93 KB NODE_DEV
react-events-focus.production.min.js 0.0% 🔺+0.1% 3.91 KB 3.91 KB 1.31 KB 1.31 KB NODE_PROD
react-events-press.production.min.js 0.0% 🔺+0.1% 6.87 KB 6.87 KB 2.58 KB 2.58 KB NODE_PROD
react-events-drag.development.js +6.2% +2.2% 5.21 KB 5.53 KB 1.54 KB 1.57 KB UMD_DEV
react-events-keyboard.development.js +7.2% +2.5% 4.3 KB 4.61 KB 1.63 KB 1.67 KB UMD_DEV
react-events-drag.production.min.js 🔺+0.6% 🔺+1.3% 2.24 KB 2.25 KB 1.07 KB 1.08 KB UMD_PROD
ReactEventsFocus-dev.js 0.0% +0.4% 10.67 KB 10.67 KB 2.33 KB 2.34 KB FB_WWW_DEV
react-events-keyboard.production.min.js 🔺+0.6% 🔺+0.9% 1.87 KB 1.88 KB 1.01 KB 1.02 KB UMD_PROD
ReactEventsPress-dev.js 0.0% +0.2% 21.83 KB 21.83 KB 5.11 KB 5.12 KB FB_WWW_DEV
react-events-drag.development.js +0.2% +0.8% 6.97 KB 6.98 KB 2.2 KB 2.22 KB NODE_DEV
react-events-keyboard.development.js +0.4% +0.6% 4.11 KB 4.13 KB 1.59 KB 1.59 KB NODE_DEV
react-events-drag.production.min.js 0.0% 🔺+0.1% 2.87 KB 2.87 KB 1.37 KB 1.37 KB NODE_PROD

react-test-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
ReactTestRenderer-dev.js -10.8% -9.7% 607.77 KB 542.18 KB 126.81 KB 114.56 KB FB_WWW_DEV
react-test-renderer-shallow.development.js +2.7% -0.8% 39.01 KB 40.08 KB 9.9 KB 9.82 KB UMD_DEV
react-test-renderer-shallow.production.min.js -0.1% -0.0% 11.41 KB 11.4 KB 3.53 KB 3.53 KB UMD_PROD
react-test-renderer-shallow.development.js -0.2% -0.3% 33.18 KB 33.13 KB 8.49 KB 8.46 KB NODE_DEV
react-test-renderer-shallow.production.min.js -0.2% -0.5% 11.55 KB 11.53 KB 3.62 KB 3.61 KB NODE_PROD
react-test-renderer.development.js -7.6% -9.6% 594.85 KB 549.88 KB 127.37 KB 115.17 KB UMD_DEV
react-test-renderer.production.min.js -0.4% -0.5% 68.81 KB 68.55 KB 21.16 KB 21.06 KB UMD_PROD
ReactShallowRenderer-dev.js +0.1% -0.4% 34.43 KB 34.46 KB 8.41 KB 8.37 KB FB_WWW_DEV
react-test-renderer.development.js -11.8% -10.5% 590.38 KB 520.79 KB 126.23 KB 112.92 KB NODE_DEV
react-test-renderer.production.min.js -0.4% -0.5% 68.5 KB 68.23 KB 20.88 KB 20.77 KB NODE_PROD

jest-react

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
JestReact-dev.js -14.1% -14.7% 5.03 KB 4.32 KB 1.78 KB 1.52 KB FB_WWW_DEV
jest-react.development.js -10.1% -10.2% 7.04 KB 6.33 KB 2.56 KB 2.3 KB NODE_DEV
jest-react.production.min.js 0.0% 🔺+0.1% 2.57 KB 2.57 KB 1.29 KB 1.29 KB NODE_PROD

react-is

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-is.development.js +4.6% +1.3% 8.59 KB 8.99 KB 2.6 KB 2.63 KB UMD_DEV
react-is.production.min.js 🔺+0.5% -0.1% 2.46 KB 2.47 KB 955 B 954 B UMD_PROD
react-is.production.min.js 0.0% -0.4% 2.45 KB 2.45 KB 890 B 886 B NODE_PROD
ReactIs-prod.js 0.0% -0.6% 5.11 KB 5.11 KB 1.24 KB 1.24 KB FB_WWW_PROD

react-reconciler

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-reconciler.development.js -8.5% -8.6% 580.33 KB 530.99 KB 123.34 KB 112.73 KB NODE_DEV
react-reconciler.production.min.js -0.3% -0.3% 68.87 KB 68.66 KB 20.42 KB 20.37 KB NODE_PROD
react-reconciler-reflection.development.js -17.6% -21.9% 19.21 KB 15.83 KB 6.32 KB 4.94 KB NODE_DEV
react-reconciler-reflection.production.min.js 0.0% 🔺+0.3% 2.56 KB 2.56 KB 1.14 KB 1.14 KB NODE_PROD
react-reconciler-persistent.development.js -8.2% -7.8% 577.37 KB 530 KB 122.09 KB 112.62 KB NODE_DEV
react-reconciler-persistent.production.min.js -0.3% -0.2% 68.88 KB 68.7 KB 20.43 KB 20.39 KB NODE_PROD

create-subscription

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
create-subscription.development.js -7.8% -6.5% 7.17 KB 6.62 KB 2.53 KB 2.37 KB NODE_DEV
create-subscription.production.min.js 0.0% 🔺+0.1% 2.01 KB 2.01 KB 1002 B 1003 B NODE_PROD

react-noop-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-noop-renderer-server.development.js -8.6% -5.0% 1.84 KB 1.68 KB 883 B 839 B NODE_DEV
react-noop-renderer-server.production.min.js -3.0% -2.9% 813 B 789 B 490 B 476 B NODE_PROD
react-noop-renderer-persistent.development.js -1.5% -1.1% 35.86 KB 35.31 KB 8.17 KB 8.08 KB NODE_DEV
react-noop-renderer-persistent.production.min.js -0.3% -0.4% 12.22 KB 12.19 KB 3.88 KB 3.87 KB NODE_PROD
react-noop-renderer.development.js -1.4% -1.1% 35.74 KB 35.25 KB 8.16 KB 8.06 KB NODE_DEV
react-noop-renderer.production.min.js -0.3% -0.4% 12.2 KB 12.17 KB 3.88 KB 3.86 KB NODE_PROD

react-stream

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-stream.development.js -18.1% -22.4% 4.7 KB 3.85 KB 1.74 KB 1.35 KB NODE_DEV
react-stream.production.min.js 0.0% 🔺+0.2% 1.2 KB 1.2 KB 662 B 663 B NODE_PROD

react-refresh

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-refresh-runtime.development.js -1.3% -1.9% 16.53 KB 16.3 KB 5.08 KB 4.98 KB NODE_DEV
react-refresh-runtime.production.min.js 0.0% 🔺+0.4% 368 B 368 B 264 B 265 B NODE_PROD
react-refresh-babel.development.js -1.3% -1.2% 23.17 KB 22.87 KB 5.14 KB 5.08 KB NODE_DEV
react-refresh-babel.production.min.js -0.4% -0.7% 6.83 KB 6.81 KB 2.39 KB 2.37 KB NODE_PROD

Generated by 🚫 dangerJS

@kunukn kunukn changed the title Update Rollup version to 1.6.0 Update Rollup version to 1.7.0 Mar 21, 2019
@kunukn kunukn changed the title Update Rollup version to 1.7.0 Update Rollup version to 1.7.3 Mar 25, 2019
@kunukn kunukn changed the title Update Rollup version to 1.7.3 Update Rollup version to 1.7.3 and fix breaking changes Mar 25, 2019
scripts/babel/remove-getters.js Outdated Show resolved Hide resolved
scripts/babel/remove-getters.js Outdated Show resolved Hide resolved
@TrySound
Copy link
Contributor

Hi @gaearon. Do you have some time to take a look at this?

@sizebot
Copy link

sizebot commented Oct 18, 2019

Details of bundled changes.

Comparing: b789060...af015e1

react

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react.development.js -9.3% -12.8% 115.78 KB 105 KB 29.74 KB 25.94 KB UMD_DEV
react.production.min.js -0.8% -0.7% 12.67 KB 12.57 KB 4.95 KB 4.91 KB UMD_PROD
react.profiling.min.js -0.6% -0.5% 16.2 KB 16.1 KB 6.05 KB 6.02 KB UMD_PROFILING
react.development.js -18.4% -17.6% 75.29 KB 61.46 KB 20.03 KB 16.51 KB NODE_DEV
react.production.min.js -1.9% -1.7% 6.96 KB 6.83 KB 2.86 KB 2.81 KB NODE_PROD
React-dev.js -4.5% -4.8% 74.55 KB 71.19 KB 18.93 KB 18.03 KB FB_WWW_DEV
React-prod.js -0.7% -1.1% 18.28 KB 18.16 KB 4.68 KB 4.63 KB FB_WWW_PROD
React-profiling.js -0.7% -1.1% 18.28 KB 18.16 KB 4.68 KB 4.63 KB FB_WWW_PROFILING

react-dom

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-dom.profiling.min.js -0.1% -0.3% 123.81 KB 123.63 KB 38.73 KB 38.61 KB NODE_PROFILING
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
ReactDOM-dev.js -9.9% -8.8% 990.96 KB 892.99 KB 218.42 KB 199.16 KB FB_WWW_DEV
react-dom-unstable-fizz.browser.production.min.js -1.0% -0.6% 1.21 KB 1.2 KB 711 B 707 B UMD_PROD
react-dom-test-utils.development.js -4.8% -12.1% 56.37 KB 53.69 KB 15.93 KB 14.01 KB UMD_DEV
react-dom-testing.profiling.min.js -0.1% -0.3% 121.36 KB 121.18 KB 38.25 KB 38.14 KB NODE_PROFILING
react-dom-server.browser.development.js -1.4% -5.5% 140.16 KB 138.16 KB 37.25 KB 35.18 KB UMD_DEV
react-dom-test-utils.production.min.js -0.1% -0.2% 11.23 KB 11.22 KB 4.17 KB 4.16 KB UMD_PROD
react-dom-server.browser.production.min.js -0.1% -0.1% 20.46 KB 20.45 KB 7.5 KB 7.49 KB UMD_PROD
react-dom-test-utils.development.js -9.4% -13.2% 54.65 KB 49.52 KB 15.62 KB 13.55 KB NODE_DEV
react-dom-server.browser.development.js -6.4% -6.6% 136.09 KB 127.45 KB 36.23 KB 33.83 KB NODE_DEV
react-dom-test-utils.production.min.js -0.3% -0.5% 11 KB 10.97 KB 4.11 KB 4.09 KB NODE_PROD
react-dom-server.browser.production.min.js -0.1% -0.3% 20.39 KB 20.36 KB 7.47 KB 7.45 KB NODE_PROD
react-dom.development.js -6.0% -8.4% 970.97 KB 913.01 KB 218.16 KB 199.84 KB UMD_DEV
react-dom-unstable-native-dependencies.development.js +0.6% -3.9% 58.73 KB 59.08 KB 15.36 KB 14.75 KB UMD_DEV
react-dom.production.min.js -0.2% -0.2% 119.96 KB 119.76 KB 38.34 KB 38.24 KB UMD_PROD
ReactTestUtils-dev.js -3.0% -4.6% 52.94 KB 51.36 KB 14.41 KB 13.75 KB FB_WWW_DEV
react-dom-unstable-native-dependencies.production.min.js 🔺+0.3% 🔺+0.5% 10.25 KB 10.28 KB 3.47 KB 3.49 KB UMD_PROD
ReactDOMServer-dev.js -4.3% -3.7% 140.54 KB 134.45 KB 35.57 KB 34.27 KB FB_WWW_DEV
react-dom.profiling.min.js -0.2% -0.3% 123.59 KB 123.41 KB 39.51 KB 39.39 KB UMD_PROFILING
ReactDOMServer-prod.js -0.4% -0.4% 48.27 KB 48.08 KB 11.02 KB 10.98 KB FB_WWW_PROD
react-dom.development.js -10.3% -9.4% 965.05 KB 865.45 KB 216.53 KB 196.2 KB NODE_DEV
react-dom-unstable-native-dependencies.development.js -4.1% -4.9% 58.43 KB 56.05 KB 15.28 KB 14.54 KB NODE_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.production.min.js -0.2% -0.3% 120.03 KB 119.83 KB 37.58 KB 37.48 KB NODE_PROD
react-dom-unstable-native-dependencies.production.min.js 🔺+0.1% 🔺+0.2% 9.99 KB 10 KB 3.38 KB 3.38 KB NODE_PROD
react-dom-unstable-fizz.node.production.min.js -1.9% -1.9% 1.21 KB 1.19 KB 697 B 684 B NODE_PROD
ReactDOM-prod.js -0.8% -0.6% 373.9 KB 370.81 KB 67.9 KB 67.49 KB FB_WWW_PROD
ReactDOM-profiling.js -0.8% -0.5% 385.2 KB 382.02 KB 69.96 KB 69.61 KB FB_WWW_PROFILING
react-dom-unstable-fizz.browser.development.js -13.4% -13.5% 3.71 KB 3.21 KB 1.5 KB 1.3 KB NODE_DEV
react-dom-unstable-fizz.browser.production.min.js -2.2% -2.2% 1.05 KB 1.03 KB 642 B 628 B NODE_PROD
react-dom-testing.development.js -8.4% -9.9% 967.42 KB 886.62 KB 216.84 KB 195.39 KB UMD_DEV
react-dom-testing.production.min.js -0.2% -0.4% 117.61 KB 117.42 KB 37.88 KB 37.71 KB UMD_PROD
ReactDOMTesting-dev.js -12.3% -11.0% 990.39 KB 868.83 KB 218.28 KB 194.24 KB FB_WWW_DEV
react-dom-testing.profiling.min.js -0.2% -0.3% 121.13 KB 120.95 KB 39.02 KB 38.9 KB UMD_PROFILING
ReactDOMTesting-prod.js -0.8% -0.4% 371.8 KB 368.97 KB 67.69 KB 67.41 KB FB_WWW_PROD
react-dom-testing.development.js -12.6% -10.8% 961.5 KB 840.12 KB 215.2 KB 191.86 KB NODE_DEV
ReactDOMTesting-profiling.js -0.8% -0.4% 371.8 KB 368.97 KB 67.69 KB 67.41 KB FB_WWW_PROFILING
react-dom-server.node.development.js -6.3% -6.6% 137.2 KB 128.57 KB 36.46 KB 34.05 KB NODE_DEV
react-dom-testing.production.min.js -0.2% -0.3% 117.69 KB 117.5 KB 37.17 KB 37.07 KB NODE_PROD
react-dom-server.node.production.min.js -0.1% -0.3% 20.79 KB 20.77 KB 7.62 KB 7.6 KB NODE_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% -5.0% 8.71 KB 8.79 KB 2.6 KB 2.47 KB UMD_DEV
react-flight-dom-webpack.production.min.js -0.4% -0.7% 2.89 KB 2.87 KB 1.34 KB 1.33 KB UMD_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.browser.production.min.js -0.4% -0.7% 2.84 KB 2.83 KB 1.33 KB 1.33 KB UMD_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.browser.production.min.js -0.9% -1.4% 2.65 KB 2.63 KB 1.26 KB 1.25 KB NODE_PROD
react-flight-dom-webpack.development.js -5.6% -6.7% 8.54 KB 8.06 KB 2.55 KB 2.38 KB NODE_DEV
react-flight-dom-webpack.production.min.js -0.9% -1.4% 2.72 KB 2.69 KB 1.28 KB 1.26 KB NODE_PROD
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-server.node.production.min.js -0.8% -1.3% 2.81 KB 2.79 KB 1.29 KB 1.27 KB NODE_PROD

react-interactions

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-interactions-events/focus.development.js +5.8% +1.7% 15.84 KB 16.77 KB 3.31 KB 3.36 KB UMD_DEV
react-interactions-events/focus.production.min.js 🔺+0.5% 🔺+1.0% 5.4 KB 5.43 KB 1.78 KB 1.8 KB UMD_PROD
ReactEventsHover-dev.js +0.4% +1.5% 7.62 KB 7.65 KB 1.62 KB 1.65 KB FB_WWW_DEV
react-interactions-events/keyboard.development.js +3.8% +0.2% 6.1 KB 6.34 KB 2.3 KB 2.3 KB UMD_DEV
ReactEventsContextMenu-dev.js +1.3% +2.7% 2.45 KB 2.48 KB 933 B 958 B FB_WWW_DEV
react-interactions-events/keyboard.production.min.js 🔺+1.1% 🔺+1.6% 2.45 KB 2.47 KB 1.25 KB 1.27 KB UMD_PROD
ReactEventsPressLegacy-dev.js +0.1% +0.3% 23.48 KB 23.5 KB 5.7 KB 5.72 KB FB_WWW_DEV
ReactEventsContextMenu-prod.js 🔺+0.8% 🔺+1.1% 2.22 KB 2.24 KB 807 B 816 B FB_WWW_PROD
ReactEventsPressLegacy-prod.js 🔺+0.1% 🔺+0.3% 16.84 KB 16.86 KB 3.69 KB 3.7 KB FB_WWW_PROD
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/keyboard.production.min.js 🔺+0.6% 🔺+1.0% 2.27 KB 2.28 KB 1.19 KB 1.21 KB NODE_PROD
react-interactions-events/hover.development.js +7.0% +2.7% 7.92 KB 8.47 KB 1.67 KB 1.71 KB UMD_DEV
react-interactions-events/hover.production.min.js 🔺+0.8% 🔺+1.7% 3.48 KB 3.5 KB 1.23 KB 1.25 KB UMD_PROD
ReactEventsKeyboard-dev.js -2.4% -1.2% 5.88 KB 5.74 KB 2.23 KB 2.2 KB FB_WWW_DEV
ReactEventsKeyboard-prod.js 🔺+0.5% 🔺+0.8% 4.03 KB 4.05 KB 1.42 KB 1.43 KB FB_WWW_PROD
react-interactions-events/hover.development.js +0.4% +1.3% 7.73 KB 7.77 KB 1.62 KB 1.65 KB NODE_DEV
react-interactions-events/hover.production.min.js 🔺+0.4% 🔺+0.9% 3.3 KB 3.31 KB 1.17 KB 1.18 KB NODE_PROD
ReactEventsHover-prod.js 🔺+0.3% 🔺+0.8% 6.6 KB 6.61 KB 1.46 KB 1.47 KB FB_WWW_PROD
react-interactions-events/focus.development.js +0.2% +0.5% 15.66 KB 15.7 KB 3.26 KB 3.28 KB NODE_DEV
react-interactions-events/focus.production.min.js 🔺+0.3% 🔺+0.6% 5.22 KB 5.24 KB 1.72 KB 1.73 KB NODE_PROD
react-interactions-events/context-menu.development.js +6.9% +4.2% 2.69 KB 2.88 KB 1018 B 1.04 KB UMD_DEV
react-interactions-events/press-legacy.development.js +4.5% -0.1% 23.95 KB 25.03 KB 6.14 KB 6.13 KB UMD_DEV
react-interactions-events/context-menu.production.min.js 🔺+1.9% 🔺+2.8% 1.41 KB 1.43 KB 743 B 764 B UMD_PROD
ReactEventsFocus-dev.js +0.2% +0.6% 15.78 KB 15.81 KB 3.3 KB 3.32 KB FB_WWW_DEV
react-interactions-events/press-legacy.production.min.js 🔺+0.4% 🔺+0.9% 7.28 KB 7.31 KB 2.73 KB 2.76 KB UMD_PROD
ReactEventsFocus-prod.js 🔺+0.2% 🔺+0.4% 12.14 KB 12.15 KB 2.33 KB 2.34 KB FB_WWW_PROD
react-interactions-events/context-menu.development.js +1.3% +2.2% 2.51 KB 2.54 KB 974 B 995 B NODE_DEV
react-interactions-events/press-legacy.development.js -0.5% -1.1% 23.76 KB 23.64 KB 6.09 KB 6.02 KB NODE_DEV
react-interactions-events/context-menu.production.min.js 🔺+1.2% 🔺+1.5% 1.22 KB 1.23 KB 684 B 694 B NODE_PROD
react-interactions-events/press-legacy.production.min.js 🔺+0.2% 🔺+0.4% 7.1 KB 7.12 KB 2.68 KB 2.69 KB NODE_PROD

react-art

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
ReactART-dev.js -14.1% -13.1% 625.95 KB 537.54 KB 129.31 KB 112.36 KB FB_WWW_DEV
react-art.development.js -7.1% -9.4% 683.24 KB 634.88 KB 147.09 KB 133.25 KB UMD_DEV
react-art.production.min.js -1.0% -1.1% 107.54 KB 106.51 KB 32.53 KB 32.15 KB UMD_PROD
react-art.development.js -12.8% -11.7% 613.92 KB 535.4 KB 129.69 KB 114.57 KB NODE_DEV
react-art.production.min.js -1.5% -1.4% 72.5 KB 71.44 KB 21.66 KB 21.37 KB NODE_PROD
ReactART-prod.js -2.5% -2.0% 233.07 KB 227.29 KB 39.28 KB 38.49 KB FB_WWW_PROD

react-refresh

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
ReactFreshRuntime-dev.js -1.6% -1.7% 19.19 KB 18.88 KB 5.69 KB 5.59 KB FB_WWW_DEV
react-refresh-runtime.development.js -1.6% -2.0% 19.14 KB 18.84 KB 5.72 KB 5.6 KB NODE_DEV
react-refresh-runtime.production.min.js 0.0% 🔺+0.4% 381 B 381 B 273 B 274 B NODE_PROD
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-babel.production.min.js -0.4% -0.7% 7.2 KB 7.18 KB 2.58 KB 2.56 KB NODE_PROD

react-test-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-test-renderer.development.js -11.7% -13.0% 626.65 KB 553.47 KB 132.13 KB 114.99 KB UMD_DEV
react-test-renderer.production.min.js -1.4% -1.5% 72.16 KB 71.16 KB 21.96 KB 21.63 KB UMD_PROD
ReactShallowRenderer-dev.js -0.2% -0.5% 34.42 KB 34.34 KB 8.49 KB 8.45 KB FB_WWW_DEV
react-test-renderer.development.js -15.8% -13.9% 621.91 KB 523.82 KB 130.94 KB 112.68 KB NODE_DEV
react-test-renderer.production.min.js -1.4% -1.5% 71.93 KB 70.96 KB 21.63 KB 21.3 KB NODE_PROD
ReactTestRenderer-dev.js -13.6% -12.1% 637.38 KB 550.76 KB 131.78 KB 115.8 KB FB_WWW_DEV
react-test-renderer-shallow.development.js +3.7% +0.2% 37.89 KB 39.27 KB 9.84 KB 9.86 KB UMD_DEV
react-test-renderer-shallow.production.min.js -0.1% -0.1% 11.66 KB 11.65 KB 3.6 KB 3.59 KB UMD_PROD
react-test-renderer-shallow.development.js -0.9% -1.4% 32.43 KB 32.13 KB 8.53 KB 8.41 KB NODE_DEV
react-test-renderer-shallow.production.min.js -0.2% -0.5% 11.79 KB 11.77 KB 3.71 KB 3.69 KB NODE_PROD

react-native-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
ReactFabric-dev.js -14.8% -13.3% 721.91 KB 614.77 KB 152.6 KB 132.34 KB RN_FB_DEV
ReactFabric-prod.js -2.8% -2.5% 260.37 KB 253.19 KB 44.98 KB 43.87 KB RN_FB_PROD
ReactNativeRenderer-dev.js -13.9% -12.0% 731.21 KB 629.58 KB 154.66 KB 136.11 KB RN_OSS_DEV
ReactFabric-profiling.js -2.6% -2.3% 271.54 KB 264.35 KB 47.1 KB 46 KB RN_FB_PROFILING
ReactNativeRenderer-prod.js -2.5% -2.2% 267.71 KB 260.89 KB 46.25 KB 45.21 KB RN_OSS_PROD
ReactNativeRenderer-profiling.js -2.5% -2.2% 278.93 KB 272.06 KB 48.42 KB 47.34 KB RN_OSS_PROFILING
ReactNativeRenderer-dev.js -13.5% -11.8% 731.38 KB 632.56 KB 154.74 KB 136.5 KB RN_FB_DEV
ReactNativeRenderer-prod.js -2.5% -2.2% 268.1 KB 261.28 KB 46.31 KB 45.27 KB RN_FB_PROD
ReactNativeRenderer-profiling.js -2.5% -2.2% 279.31 KB 272.44 KB 48.47 KB 47.41 KB RN_FB_PROFILING
ReactFabric-dev.js -15.2% -13.5% 721.72 KB 611.88 KB 152.52 KB 131.96 KB RN_OSS_DEV
ReactFabric-prod.js -2.8% -2.5% 260.02 KB 252.84 KB 44.9 KB 43.78 KB RN_OSS_PROD
ReactFabric-profiling.js -2.7% -2.3% 271.19 KB 264.01 KB 47.02 KB 45.92 KB RN_OSS_PROFILING

react-reconciler

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-reconciler-persistent.development.js -10.4% -9.4% 615.85 KB 551.96 KB 128.6 KB 116.57 KB NODE_DEV
react-reconciler-reflection.development.js -23.2% -28.7% 20.92 KB 16.07 KB 6.92 KB 4.93 KB NODE_DEV
react-reconciler-persistent.production.min.js -0.3% -0.2% 73.76 KB 73.51 KB 21.79 KB 21.74 KB NODE_PROD
react-reconciler.development.js -7.4% -7.4% 620.04 KB 574.02 KB 130.27 KB 120.62 KB NODE_DEV
react-reconciler.production.min.js -0.3% -0.2% 76.52 KB 76.26 KB 22.44 KB 22.4 KB NODE_PROD

create-subscription

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
create-subscription.development.js -9.1% -11.4% 7.42 KB 6.75 KB 2.81 KB 2.49 KB NODE_DEV

jest-react

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
jest-react.development.js -10.1% -13.6% 6.68 KB 6.01 KB 2.5 KB 2.16 KB NODE_DEV
jest-react.production.min.js 0.0% 🔺+0.2% 2.55 KB 2.55 KB 1.29 KB 1.29 KB NODE_PROD

scheduler

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
SchedulerMock-dev.js -0.4% -0.8% 22.88 KB 22.78 KB 5.44 KB 5.4 KB FB_WWW_DEV
scheduler-tracing.development.js -31.5% -47.0% 12.95 KB 8.88 KB 3.46 KB 1.83 KB NODE_DEV
scheduler-tracing.production.min.js 0.0% 🔺+0.5% 741 B 741 B 394 B 396 B NODE_PROD
scheduler-unstable_mock.development.js +3.7% -0.5% 22.66 KB 23.49 KB 5.41 KB 5.38 KB UMD_DEV
scheduler-tracing.profiling.min.js 0.0% +0.1% 3.26 KB 3.26 KB 1001 B 1002 B NODE_PROFILING
scheduler-unstable_mock.production.min.js 🔺+0.2% 🔺+0.6% 4.72 KB 4.73 KB 1.98 KB 1.99 KB UMD_PROD
SchedulerTracing-dev.js -5.0% -4.6% 10.2 KB 9.69 KB 2.21 KB 2.11 KB FB_WWW_DEV
scheduler-unstable_mock.development.js -2.6% -1.6% 22.47 KB 21.89 KB 5.35 KB 5.27 KB NODE_DEV
SchedulerTracing-profiling.js 0.0% +0.2% 6.77 KB 6.77 KB 1.22 KB 1.22 KB FB_WWW_PROFILING
scheduler-unstable_mock.production.min.js 0.0% 🔺+0.4% 4.71 KB 4.71 KB 1.91 KB 1.92 KB NODE_PROD
SchedulerMock-prod.js 0.0% 🔺+0.4% 11.95 KB 11.95 KB 2.82 KB 2.83 KB FB_WWW_PROD
scheduler.development.js -7.9% -6.6% 25.29 KB 23.29 KB 6.48 KB 6.06 KB NODE_DEV
scheduler.production.min.js -0.0% 🔺+0.3% 5 KB 5 KB 2.01 KB 2.01 KB NODE_PROD
Scheduler-dev.js -0.1% -0.1% 25.72 KB 25.7 KB 6.56 KB 6.56 KB FB_WWW_DEV
Scheduler-prod.js 0.0% 🔺+0.3% 12.52 KB 12.52 KB 3.05 KB 3.06 KB FB_WWW_PROD
Scheduler-profiling.js 0.0% +0.2% 17.11 KB 17.11 KB 3.95 KB 3.95 KB FB_WWW_PROFILING

react-cache

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
ReactCache-dev.js -1.2% -1.4% 8.53 KB 8.43 KB 2.79 KB 2.75 KB FB_WWW_DEV
react-cache.development.js +3.2% -2.1% 9.82 KB 10.13 KB 3.37 KB 3.3 KB UMD_DEV
react-cache.production.min.js 🔺+0.5% 🔺+0.7% 2.39 KB 2.41 KB 1.22 KB 1.23 KB UMD_PROD
react-cache.development.js -2.5% -3.3% 9.6 KB 9.36 KB 3.29 KB 3.18 KB NODE_DEV
react-cache.production.min.js 0.0% 🔺+0.1% 2.2 KB 2.2 KB 1.13 KB 1.13 KB NODE_PROD

react-noop-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-noop-renderer-server.development.js -8.0% -5.0% 1.98 KB 1.82 KB 907 B 862 B NODE_DEV
react-noop-renderer-server.production.min.js -2.7% -2.9% 901 B 877 B 513 B 498 B NODE_PROD
react-noop-renderer-persistent.development.js -2.3% -2.0% 27.56 KB 26.94 KB 5.63 KB 5.52 KB NODE_DEV
react-noop-renderer-persistent.production.min.js -0.3% -0.6% 10.84 KB 10.81 KB 3.32 KB 3.29 KB NODE_PROD
react-noop-renderer.development.js -2.1% -2.0% 27.44 KB 26.88 KB 5.62 KB 5.51 KB NODE_DEV
react-noop-renderer-flight-client.development.js -11.9% -6.0% 1.63 KB 1.43 KB 779 B 732 B NODE_DEV
react-noop-renderer.production.min.js -0.3% -0.7% 10.82 KB 10.79 KB 3.31 KB 3.29 KB NODE_PROD
react-noop-renderer-flight-client.production.min.js -4.2% -3.8% 574 B 550 B 422 B 406 B NODE_PROD
react-noop-renderer-flight-server.development.js -8.9% -4.8% 2.18 KB 1.99 KB 962 B 916 B NODE_DEV
react-noop-renderer-flight-server.production.min.js -2.4% -2.5% 1007 B 983 B 566 B 552 B NODE_PROD

react-flight

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-flight.development.js -8.3% -10.9% 8.14 KB 7.46 KB 2.68 KB 2.38 KB NODE_DEV
react-flight.production.min.js 🔺+0.6% 🔺+0.8% 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% 🔺+0.9% 2.86 KB 2.88 KB 1.29 KB 1.3 KB NODE_PROD
react-server.development.js -17.2% -21.6% 4.83 KB 4 KB 1.77 KB 1.39 KB NODE_DEV
react-server.production.min.js 🔺+1.2% 🔺+1.5% 1.22 KB 1.23 KB 672 B 682 B NODE_PROD

react-is

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
ReactIs-prod.js 0.0% -0.9% 5.31 KB 5.31 KB 1.26 KB 1.25 KB FB_WWW_PROD
react-is.development.js +4.4% +1.2% 7.08 KB 7.4 KB 1.9 KB 1.92 KB UMD_DEV
react-is.production.min.js 🔺+0.5% -0.1% 2.57 KB 2.58 KB 989 B 988 B UMD_PROD
react-is.development.js 0.0% +0.1% 6.9 KB 6.9 KB 1.84 KB 1.85 KB NODE_DEV
react-is.production.min.js 0.0% -0.8% 2.57 KB 2.57 KB 924 B 917 B NODE_PROD

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

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

Size changes (experimental)

Generated by 🚫 dangerJS against af015e1

@sizebot
Copy link

sizebot commented Oct 18, 2019

Details of bundled changes.

Comparing: b789060...af015e1

react

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react.development.js -11.4% -14.2% 115.76 KB 102.56 KB 29.74 KB 25.5 KB UMD_DEV
react.production.min.js -1.4% -1.1% 12.33 KB 12.15 KB 4.84 KB 4.79 KB UMD_PROD
react.profiling.min.js -1.0% -0.8% 15.85 KB 15.69 KB 5.95 KB 5.9 KB UMD_PROFILING
react.development.js -21.5% -19.5% 75.27 KB 59.12 KB 20.02 KB 16.11 KB NODE_DEV
react.production.min.js -3.0% -2.3% 6.54 KB 6.34 KB 2.72 KB 2.66 KB NODE_PROD
React-dev.js -3.6% -3.8% 74.54 KB 71.84 KB 18.93 KB 18.2 KB FB_WWW_DEV
React-prod.js -0.7% -1.1% 18.17 KB 18.05 KB 4.69 KB 4.64 KB FB_WWW_PROD
React-profiling.js -0.7% -1.1% 18.17 KB 18.05 KB 4.69 KB 4.64 KB FB_WWW_PROFILING

react-dom

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
ReactDOM-profiling.js -0.8% -0.5% 408.86 KB 405.4 KB 74.33 KB 73.95 KB FB_WWW_PROFILING
react-dom-testing.production.min.js -0.1% -0.2% 117.16 KB 117.03 KB 37.04 KB 36.97 KB NODE_PROD
react-dom-unstable-native-dependencies.development.js +0.6% -3.9% 58.72 KB 59.07 KB 15.35 KB 14.75 KB UMD_DEV
react-dom-unstable-fizz.browser.production.min.js -2.3% -2.2% 1.04 KB 1.02 KB 634 B 620 B NODE_PROD
react-dom-testing.profiling.min.js -0.1% -0.3% 120.83 KB 120.65 KB 38.12 KB 38 KB NODE_PROFILING
react-dom-unstable-native-dependencies.production.min.js 🔺+0.3% 🔺+0.5% 10.24 KB 10.26 KB 3.47 KB 3.48 KB UMD_PROD
ReactTestUtils-dev.js -3.0% -4.6% 52.94 KB 51.36 KB 14.41 KB 13.74 KB FB_WWW_DEV
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.development.js -8.9% -10.7% 970.95 KB 884.32 KB 218.15 KB 194.86 KB UMD_DEV
react-dom-server.browser.development.js -2.5% -6.1% 140.13 KB 136.57 KB 37.25 KB 34.98 KB UMD_DEV
react-dom-unstable-fizz.node.production.min.js -2.0% -1.9% 1.2 KB 1.17 KB 689 B 676 B NODE_PROD
react-dom.production.min.js -0.2% -0.4% 116.04 KB 115.86 KB 37.24 KB 37.09 KB UMD_PROD
react-dom-server.browser.production.min.js -0.1% -0.1% 20 KB 19.99 KB 7.4 KB 7.4 KB UMD_PROD
react-dom.profiling.min.js -0.2% -0.3% 119.57 KB 119.38 KB 38.4 KB 38.29 KB UMD_PROFILING
ReactDOMTesting-dev.js -9.7% -8.7% 990.39 KB 894.4 KB 218.26 KB 199.25 KB FB_WWW_DEV
react-dom.development.js -13.2% -11.7% 965.03 KB 837.95 KB 216.52 KB 191.28 KB NODE_DEV
ReactDOMTesting-prod.js -0.8% -0.5% 384.1 KB 380.98 KB 69.77 KB 69.43 KB FB_WWW_PROD
react-dom-server.browser.development.js -7.4% -7.2% 136.07 KB 125.94 KB 36.23 KB 33.61 KB NODE_DEV
react-dom.production.min.js -0.2% -0.3% 116.08 KB 115.89 KB 36.56 KB 36.46 KB NODE_PROD
react-dom-testing.development.js -8.6% -10.0% 967.4 KB 884.52 KB 216.83 KB 195.21 KB UMD_DEV
ReactDOMTesting-profiling.js -0.8% -0.5% 384.1 KB 380.98 KB 69.77 KB 69.43 KB FB_WWW_PROFILING
react-dom-server.browser.production.min.js -0.1% -0.3% 19.93 KB 19.9 KB 7.39 KB 7.37 KB NODE_PROD
react-dom-unstable-fizz.browser.development.js -7.1% -11.9% 3.87 KB 3.59 KB 1.54 KB 1.36 KB UMD_DEV
react-dom.profiling.min.js -0.2% -0.3% 119.75 KB 119.57 KB 37.65 KB 37.53 KB NODE_PROFILING
react-dom-testing.production.min.js -0.1% -0.2% 117.08 KB 116.95 KB 37.72 KB 37.63 KB UMD_PROD
react-dom-unstable-fizz.browser.production.min.js -1.0% -0.7% 1.2 KB 1.19 KB 703 B 698 B UMD_PROD
ReactDOM-dev.js -5.7% -5.1% 991.9 KB 934.98 KB 218.73 KB 207.66 KB FB_WWW_DEV
react-dom-testing.profiling.min.js -0.1% -0.2% 120.6 KB 120.48 KB 38.88 KB 38.8 KB UMD_PROFILING
ReactDOMServer-dev.js -3.7% -3.2% 140.53 KB 135.37 KB 35.57 KB 34.43 KB FB_WWW_DEV
ReactDOM-prod.js -0.9% -0.6% 397.53 KB 394.14 KB 72.23 KB 71.81 KB FB_WWW_PROD
react-dom-testing.development.js -12.8% -10.9% 961.48 KB 838.11 KB 215.19 KB 191.68 KB NODE_DEV
ReactDOMServer-prod.js -0.4% -0.4% 48.98 KB 48.79 KB 11.18 KB 11.14 KB FB_WWW_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-unstable-native-dependencies.development.js -4.1% -4.9% 58.42 KB 56.04 KB 15.28 KB 14.53 KB NODE_DEV
react-dom-test-utils.development.js -4.8% -12.1% 56.36 KB 53.68 KB 15.93 KB 14 KB UMD_DEV
react-dom-unstable-native-dependencies.production.min.js 🔺+0.1% 🔺+0.2% 9.98 KB 9.99 KB 3.37 KB 3.38 KB NODE_PROD
react-dom-test-utils.production.min.js -0.1% -0.2% 11.21 KB 11.2 KB 4.16 KB 4.15 KB UMD_PROD
react-dom-test-utils.development.js -9.4% -13.3% 54.63 KB 49.51 KB 15.61 KB 13.54 KB NODE_DEV
react-dom-server.node.development.js -7.4% -7.2% 137.18 KB 127.06 KB 36.46 KB 33.83 KB NODE_DEV
react-dom-test-utils.production.min.js -0.3% -0.5% 10.99 KB 10.96 KB 4.1 KB 4.08 KB NODE_PROD
react-dom-server.node.production.min.js -0.1% -0.2% 20.34 KB 20.31 KB 7.54 KB 7.52 KB NODE_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.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.browser.production.min.js -0.4% -0.7% 2.83 KB 2.82 KB 1.33 KB 1.32 KB UMD_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-flight-dom-webpack-server.node.production.min.js -0.8% -1.3% 2.8 KB 2.77 KB 1.28 KB 1.26 KB NODE_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.4% 2.64 KB 2.61 KB 1.26 KB 1.24 KB NODE_PROD
react-flight-dom-webpack.development.js +1.0% -5.0% 8.7 KB 8.78 KB 2.59 KB 2.46 KB UMD_DEV
react-flight-dom-webpack.production.min.js -0.4% -0.7% 2.87 KB 2.86 KB 1.33 KB 1.32 KB UMD_PROD
react-flight-dom-webpack.development.js -5.6% -6.7% 8.52 KB 8.05 KB 2.55 KB 2.38 KB NODE_DEV
react-flight-dom-webpack.production.min.js -0.9% -1.3% 2.7 KB 2.68 KB 1.27 KB 1.25 KB NODE_PROD

react-art

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-art.production.min.js -1.3% -1.3% 69.99 KB 69.06 KB 20.99 KB 20.71 KB NODE_PROD
react-art.development.js -9.9% -11.7% 683.22 KB 615.7 KB 147.09 KB 129.83 KB UMD_DEV
react-art.production.min.js -0.9% -1.0% 104.98 KB 104.08 KB 31.84 KB 31.51 KB UMD_PROD
react-art.development.js -15.8% -14.3% 613.89 KB 516.97 KB 129.69 KB 111.13 KB NODE_DEV
ReactART-dev.js -9.9% -8.9% 625.94 KB 564.14 KB 129.3 KB 117.84 KB FB_WWW_DEV
ReactART-prod.js -2.5% -1.8% 240.58 KB 234.47 KB 40.5 KB 39.76 KB FB_WWW_PROD

react-test-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-test-renderer.production.min.js -1.4% -1.5% 71.91 KB 70.94 KB 21.61 KB 21.28 KB NODE_PROD
react-test-renderer-shallow.development.js -0.9% -1.4% 32.42 KB 32.11 KB 8.52 KB 8.4 KB NODE_DEV
react-test-renderer-shallow.production.min.js -0.2% -0.6% 11.78 KB 11.75 KB 3.7 KB 3.68 KB NODE_PROD
ReactShallowRenderer-dev.js -0.2% -0.5% 34.42 KB 34.34 KB 8.49 KB 8.45 KB FB_WWW_DEV
react-test-renderer.development.js -11.7% -13.0% 626.62 KB 553.44 KB 132.12 KB 114.97 KB UMD_DEV
react-test-renderer.production.min.js -1.4% -1.5% 72.13 KB 71.13 KB 21.94 KB 21.61 KB UMD_PROD
react-test-renderer.development.js -15.8% -13.9% 621.89 KB 523.8 KB 130.93 KB 112.67 KB NODE_DEV
ReactTestRenderer-dev.js -13.6% -12.1% 637.36 KB 550.74 KB 131.78 KB 115.79 KB FB_WWW_DEV
react-test-renderer-shallow.development.js +3.7% +0.2% 37.88 KB 39.26 KB 9.83 KB 9.85 KB UMD_DEV
react-test-renderer-shallow.production.min.js -0.1% -0.1% 11.64 KB 11.63 KB 3.59 KB 3.59 KB UMD_PROD

react-interactions

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-interactions-events/context-menu.production.min.js 🔺+1.2% 🔺+1.5% 1.21 KB 1.22 KB 674 B 684 B NODE_PROD
react-interactions-events/hover.development.js +7.0% +2.6% 7.9 KB 8.46 KB 1.66 KB 1.71 KB UMD_DEV
react-interactions-events/hover.production.min.js 🔺+0.8% 🔺+1.7% 3.46 KB 3.49 KB 1.22 KB 1.24 KB UMD_PROD
ReactEventsPressLegacy-dev.js +0.1% +0.3% 23.48 KB 23.5 KB 5.7 KB 5.72 KB FB_WWW_DEV
react-interactions-events/focus.development.js +0.2% +0.5% 15.65 KB 15.68 KB 3.25 KB 3.27 KB NODE_DEV
ReactEventsPressLegacy-prod.js 🔺+0.1% 🔺+0.3% 16.84 KB 16.86 KB 3.69 KB 3.7 KB FB_WWW_PROD
react-interactions-events/focus.production.min.js 🔺+0.3% 🔺+0.6% 5.21 KB 5.23 KB 1.71 KB 1.72 KB NODE_PROD
react-interactions-events/keyboard.development.js +3.8% +0.2% 6.09 KB 6.33 KB 2.29 KB 2.29 KB UMD_DEV
react-interactions-events/keyboard.production.min.js 🔺+1.1% 🔺+1.6% 2.43 KB 2.46 KB 1.24 KB 1.26 KB UMD_PROD
ReactEventsFocus-dev.js +0.2% +0.6% 15.78 KB 15.81 KB 3.3 KB 3.32 KB FB_WWW_DEV
ReactEventsFocus-prod.js 🔺+0.2% 🔺+0.4% 12.14 KB 12.15 KB 2.33 KB 2.34 KB FB_WWW_PROD
react-interactions-events/keyboard.development.js -2.4% -1.4% 5.91 KB 5.77 KB 2.25 KB 2.22 KB NODE_DEV
react-interactions-events/context-menu.development.js +6.9% +4.3% 2.68 KB 2.87 KB 1011 B 1.03 KB UMD_DEV
react-interactions-events/keyboard.production.min.js 🔺+0.6% 🔺+0.9% 2.26 KB 2.27 KB 1.18 KB 1.2 KB NODE_PROD
react-interactions-events/context-menu.production.min.js 🔺+1.9% 🔺+2.9% 1.39 KB 1.42 KB 735 B 756 B UMD_PROD
ReactEventsKeyboard-dev.js -2.4% -1.2% 5.88 KB 5.74 KB 2.23 KB 2.2 KB FB_WWW_DEV
react-interactions-events/context-menu.development.js +1.3% +2.3% 2.49 KB 2.53 KB 965 B 987 B NODE_DEV
ReactEventsKeyboard-prod.js 🔺+0.5% 🔺+0.8% 4.03 KB 4.05 KB 1.42 KB 1.43 KB FB_WWW_PROD
ReactEventsContextMenu-dev.js +1.3% +2.7% 2.45 KB 2.48 KB 933 B 958 B FB_WWW_DEV
ReactEventsContextMenu-prod.js 🔺+0.8% 🔺+1.1% 2.22 KB 2.24 KB 807 B 816 B FB_WWW_PROD
react-interactions-events/hover.development.js +0.4% +1.3% 7.72 KB 7.75 KB 1.62 KB 1.64 KB NODE_DEV
react-interactions-events/hover.production.min.js 🔺+0.4% 🔺+0.9% 3.29 KB 3.3 KB 1.16 KB 1.17 KB NODE_PROD
react-interactions-events/press-legacy.development.js +4.5% -0.1% 23.94 KB 25.02 KB 6.13 KB 6.13 KB UMD_DEV
react-interactions-events/press-legacy.production.min.js 🔺+0.4% 🔺+0.9% 7.27 KB 7.3 KB 2.72 KB 2.75 KB UMD_PROD
ReactEventsHover-dev.js +0.4% +1.5% 7.62 KB 7.65 KB 1.62 KB 1.65 KB FB_WWW_DEV
ReactEventsHover-prod.js 🔺+0.3% 🔺+0.8% 6.6 KB 6.61 KB 1.46 KB 1.47 KB FB_WWW_PROD
react-interactions-events/press-legacy.development.js -0.5% -1.1% 23.75 KB 23.63 KB 6.08 KB 6.01 KB NODE_DEV
react-interactions-events/focus.development.js +5.8% +1.7% 15.83 KB 16.75 KB 3.3 KB 3.35 KB UMD_DEV
react-interactions-events/press-legacy.production.min.js 🔺+0.2% 🔺+0.4% 7.09 KB 7.1 KB 2.67 KB 2.68 KB NODE_PROD
react-interactions-events/focus.production.min.js 🔺+0.5% 🔺+0.9% 5.39 KB 5.41 KB 1.77 KB 1.79 KB UMD_PROD

react-native-renderer

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
ReactNativeRenderer-prod.js -2.5% -2.2% 267.69 KB 260.88 KB 46.24 KB 45.2 KB RN_OSS_PROD
ReactNativeRenderer-profiling.js -2.5% -2.2% 278.92 KB 272.04 KB 48.41 KB 47.34 KB RN_OSS_PROFILING
ReactFabric-dev.js -15.2% -13.5% 721.71 KB 611.87 KB 152.51 KB 131.95 KB RN_OSS_DEV
ReactFabric-prod.js -2.8% -2.5% 260 KB 252.83 KB 44.89 KB 43.77 KB RN_OSS_PROD
ReactFabric-profiling.js -2.7% -2.3% 271.18 KB 263.99 KB 47.01 KB 45.92 KB RN_OSS_PROFILING
ReactNativeRenderer-dev.js -13.9% -12.0% 731.2 KB 629.57 KB 154.65 KB 136.1 KB RN_OSS_DEV

scheduler

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
Scheduler-profiling.js 0.0% +0.2% 17.11 KB 17.11 KB 3.95 KB 3.95 KB FB_WWW_PROFILING
SchedulerMock-dev.js -0.4% -0.8% 22.88 KB 22.78 KB 5.44 KB 5.4 KB FB_WWW_DEV
SchedulerTracing-dev.js -5.0% -4.5% 10.2 KB 9.69 KB 2.21 KB 2.11 KB FB_WWW_DEV
SchedulerMock-prod.js 0.0% 🔺+0.4% 11.95 KB 11.95 KB 2.82 KB 2.83 KB FB_WWW_PROD
SchedulerTracing-profiling.js 0.0% +0.2% 6.77 KB 6.77 KB 1.22 KB 1.22 KB FB_WWW_PROFILING
scheduler.development.js -7.9% -6.6% 25.28 KB 23.28 KB 6.48 KB 6.05 KB NODE_DEV
scheduler.production.min.js -0.0% 🔺+0.3% 4.99 KB 4.99 KB 2 KB 2 KB NODE_PROD
Scheduler-dev.js -0.1% -0.1% 25.72 KB 25.7 KB 6.56 KB 6.56 KB FB_WWW_DEV
Scheduler-prod.js 0.0% 🔺+0.3% 12.52 KB 12.52 KB 3.05 KB 3.06 KB FB_WWW_PROD
scheduler-unstable_mock.development.js +3.7% -0.5% 22.65 KB 23.47 KB 5.4 KB 5.38 KB UMD_DEV
scheduler-unstable_mock.production.min.js 🔺+0.2% 🔺+0.5% 4.71 KB 4.72 KB 1.97 KB 1.98 KB UMD_PROD
scheduler-unstable_mock.development.js -2.6% -1.6% 22.46 KB 21.88 KB 5.34 KB 5.26 KB NODE_DEV
scheduler-tracing.development.js -31.5% -47.2% 12.94 KB 8.86 KB 3.46 KB 1.83 KB NODE_DEV
scheduler-unstable_mock.production.min.js 0.0% 🔺+0.4% 4.7 KB 4.7 KB 1.9 KB 1.91 KB NODE_PROD
scheduler-tracing.production.min.js 0.0% 🔺+0.5% 728 B 728 B 383 B 385 B NODE_PROD
scheduler-tracing.profiling.min.js 0.0% +0.1% 3.25 KB 3.25 KB 992 B 993 B NODE_PROFILING

react-flight

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-flight.development.js -8.4% -10.9% 8.13 KB 7.45 KB 2.67 KB 2.38 KB NODE_DEV
react-flight.production.min.js 🔺+0.6% 🔺+0.8% 2.49 KB 2.5 KB 1.17 KB 1.18 KB NODE_PROD

create-subscription

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
create-subscription.development.js -9.1% -11.5% 7.41 KB 6.73 KB 2.81 KB 2.49 KB NODE_DEV

react-is

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-is.development.js +4.4% +1.1% 7.07 KB 7.38 KB 1.89 KB 1.91 KB UMD_DEV
react-is.production.min.js 🔺+0.5% -0.2% 2.56 KB 2.57 KB 982 B 980 B UMD_PROD
react-is.development.js 0.0% -0.1% 6.89 KB 6.89 KB 1.84 KB 1.84 KB NODE_DEV
react-is.production.min.js 0.0% -0.4% 2.56 KB 2.56 KB 917 B 913 B NODE_PROD
ReactIs-prod.js 0.0% -0.9% 5.31 KB 5.31 KB 1.26 KB 1.25 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.production.min.js -2.4% -2.9% 994 B 970 B 557 B 541 B NODE_PROD
react-noop-renderer-flight-client.development.js -12.0% -6.2% 1.62 KB 1.42 KB 771 B 723 B NODE_DEV
react-noop-renderer-flight-client.production.min.js -4.3% -3.9% 561 B 537 B 413 B 397 B NODE_PROD
react-noop-renderer-persistent.development.js -2.3% -2.0% 27.55 KB 26.92 KB 5.63 KB 5.51 KB NODE_DEV
react-noop-renderer-persistent.production.min.js -0.3% -0.6% 10.83 KB 10.8 KB 3.31 KB 3.29 KB NODE_PROD
react-noop-renderer-flight-server.development.js -9.0% -4.9% 2.17 KB 1.98 KB 953 B 906 B NODE_DEV
react-noop-renderer.development.js -2.1% -2.0% 27.43 KB 26.87 KB 5.61 KB 5.5 KB NODE_DEV
react-noop-renderer.production.min.js -0.3% -0.7% 10.81 KB 10.78 KB 3.3 KB 3.28 KB NODE_PROD
react-noop-renderer-server.development.js -8.1% -5.0% 1.97 KB 1.81 KB 899 B 854 B NODE_DEV
react-noop-renderer-server.production.min.js -2.7% -2.8% 888 B 864 B 503 B 489 B NODE_PROD

react-reconciler

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-reconciler-persistent.development.js -10.4% -9.4% 615.83 KB 551.94 KB 128.59 KB 116.57 KB NODE_DEV
react-reconciler-persistent.production.min.js -0.3% -0.2% 73.75 KB 73.5 KB 21.78 KB 21.73 KB NODE_PROD
react-reconciler.development.js -10.8% -10.4% 620.03 KB 553.26 KB 130.27 KB 116.7 KB NODE_DEV
react-reconciler-reflection.development.js -23.2% -28.7% 20.91 KB 16.06 KB 6.91 KB 4.93 KB NODE_DEV
react-reconciler.production.min.js -0.4% -0.3% 73.74 KB 73.46 KB 21.77 KB 21.7 KB NODE_PROD

react-refresh

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-refresh-runtime.development.js -1.6% -2.0% 19.13 KB 18.83 KB 5.71 KB 5.6 KB NODE_DEV
ReactFreshRuntime-dev.js -1.6% -1.7% 19.19 KB 18.88 KB 5.69 KB 5.59 KB FB_WWW_DEV
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.7% 7.19 KB 7.16 KB 2.57 KB 2.56 KB NODE_PROD

react-cache

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-cache.development.js +3.2% -2.1% 9.81 KB 10.12 KB 3.36 KB 3.29 KB UMD_DEV
react-cache.production.min.js 🔺+0.5% 🔺+0.8% 2.38 KB 2.39 KB 1.21 KB 1.22 KB UMD_PROD
react-cache.development.js -2.5% -3.3% 9.58 KB 9.35 KB 3.29 KB 3.18 KB NODE_DEV
ReactCache-dev.js -1.2% -1.4% 8.53 KB 8.43 KB 2.79 KB 2.75 KB FB_WWW_DEV

react-server

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
react-server-flight.production.min.js 🔺+1.2% 🔺+2.0% 2.85 KB 2.89 KB 1.28 KB 1.31 KB NODE_PROD
react-server-flight.development.js -8.3% -11.4% 10.31 KB 9.45 KB 3.3 KB 2.92 KB NODE_DEV
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% 🔺+1.5% 1.2 KB 1.22 KB 664 B 674 B NODE_PROD

jest-react

File Filesize Diff Gzip Diff Prev Size Current Size Prev Gzip Current Gzip ENV
jest-react.production.min.js 0.0% 🔺+0.1% 2.54 KB 2.54 KB 1.28 KB 1.28 KB NODE_PROD
jest-react.development.js -10.1% -13.6% 6.67 KB 6 KB 2.49 KB 2.15 KB NODE_DEV

ReactDOM: size: 🔺+0.3%, gzip: 🔺+0.5%

React: size: -1.4%, gzip: -1.1%

Size changes (stable)

Generated by 🚫 dangerJS against af015e1

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 31, 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 6070bf0:

Sandbox Source
silly-franklin-ovkwf Configuration

@frehner
Copy link

frehner commented Nov 5, 2019

Since you're now publishing an alpha build for React, do you think now would be a good time to get this merged in?

@Andarist
Copy link
Contributor

Is there anything I can do to help move this forward?

@gaearon
Copy link
Collaborator

gaearon commented Feb 17, 2020

Can you post the bundle diff? What has actually changed in the output?

We usually do yarn build --type=FB for both versions and use Git to diff. Other bundles are not as easy to compare because they're minified.

@kunukn
Copy link
Contributor Author

kunukn commented Feb 20, 2020

I have updated https://github.com/kunukn/reactjs-rollup-upgrade

branch: rollup.0.52.1
branch: rollup.1.19.4

yarn build --type=FB was used

Based on react source code master commit: b789060

There are a lot of files to compare.

Here is Rollup 0.52.1 compared to Rollup 1.19.4
https://github.com/kunukn/reactjs-rollup-upgrade/compare/299034..7441bc

E.g.

As-is
https://github.com/kunukn/reactjs-rollup-upgrade/blob/rollup.0.52.1/build/facebook-www/React-dev.js

PR
https://github.com/kunukn/reactjs-rollup-upgrade/blob/rollup.1.19.4/build/facebook-www/React-dev.js

@gaearon
Copy link
Collaborator

gaearon commented Feb 20, 2020

Great work. Thanks for keeping it up to date. I haven’t read the complete diff but what I’ve seen looks good to me. Let’s try it.

@gaearon gaearon merged commit abfbae0 into facebook:master Feb 20, 2020
@kunukn kunukn deleted the feature/upgrade-rollup-to-latest-version branch February 21, 2020 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet