2017-04-05 23:47:29 +08:00
|
|
|
{
|
|
|
|
|
"bundleSizes": {
|
|
|
|
|
"react.development.js (UMD_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 54798,
|
|
|
|
|
"gzip": 14827
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"react.production.min.js (UMD_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 6563,
|
|
|
|
|
"gzip": 2725
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"react.development.js (NODE_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 45166,
|
|
|
|
|
"gzip": 12533
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"react.production.min.js (NODE_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 5363,
|
|
|
|
|
"gzip": 2304
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"React-dev.js (FB_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 45060,
|
|
|
|
|
"gzip": 12278
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"React-prod.js (FB_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 12462,
|
|
|
|
|
"gzip": 3316
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-06-09 07:47:49 +08:00
|
|
|
"react-dom.development.js (UMD_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 566431,
|
|
|
|
|
"gzip": 132055
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
|
|
|
|
"react-dom.production.min.js (UMD_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 94557,
|
|
|
|
|
"gzip": 30616
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
2017-04-05 23:47:29 +08:00
|
|
|
"react-dom.development.js (NODE_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 547400,
|
|
|
|
|
"gzip": 127133
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"react-dom.production.min.js (NODE_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 92733,
|
|
|
|
|
"gzip": 29845
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-10-24 22:26:07 +08:00
|
|
|
"ReactDOM-dev.js (FB_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 572903,
|
|
|
|
|
"gzip": 131672
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-10-24 22:26:07 +08:00
|
|
|
"ReactDOM-prod.js (FB_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 270884,
|
|
|
|
|
"gzip": 51317
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-06-09 07:47:49 +08:00
|
|
|
"react-dom-test-utils.development.js (NODE_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 35984,
|
|
|
|
|
"gzip": 10247
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-10-23 22:06:36 +08:00
|
|
|
"react-dom-test-utils.production.min.js (NODE_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 10188,
|
|
|
|
|
"gzip": 3835
|
2017-10-23 22:06:36 +08:00
|
|
|
},
|
2017-06-09 07:47:49 +08:00
|
|
|
"ReactTestUtils-dev.js (FB_DEV)": {
|
2017-11-09 06:37:11 +08:00
|
|
|
"size": 36706,
|
|
|
|
|
"gzip": 10335
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"react-dom-unstable-native-dependencies.development.js (UMD_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 63449,
|
|
|
|
|
"gzip": 16545
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"react-dom-unstable-native-dependencies.production.min.js (UMD_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 11366,
|
|
|
|
|
"gzip": 3901
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"react-dom-unstable-native-dependencies.development.js (NODE_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 58979,
|
|
|
|
|
"gzip": 15256
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"react-dom-unstable-native-dependencies.production.min.js (NODE_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 10909,
|
|
|
|
|
"gzip": 3772
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"ReactDOMUnstableNativeDependencies-dev.js (FB_DEV)": {
|
2017-11-09 06:37:11 +08:00
|
|
|
"size": 60056,
|
|
|
|
|
"gzip": 15406
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"ReactDOMUnstableNativeDependencies-prod.js (FB_PROD)": {
|
2017-11-09 06:37:11 +08:00
|
|
|
"size": 26610,
|
|
|
|
|
"gzip": 5327
|
2017-08-03 07:41:09 +08:00
|
|
|
},
|
|
|
|
|
"react-dom-server.browser.development.js (UMD_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 94237,
|
|
|
|
|
"gzip": 25344
|
2017-08-03 07:41:09 +08:00
|
|
|
},
|
|
|
|
|
"react-dom-server.browser.production.min.js (UMD_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 14726,
|
|
|
|
|
"gzip": 5829
|
2017-08-03 07:41:09 +08:00
|
|
|
},
|
|
|
|
|
"react-dom-server.browser.development.js (NODE_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 83181,
|
|
|
|
|
"gzip": 22539
|
2017-08-03 07:41:09 +08:00
|
|
|
},
|
|
|
|
|
"react-dom-server.browser.production.min.js (NODE_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 14201,
|
|
|
|
|
"gzip": 5709
|
2017-08-03 07:41:09 +08:00
|
|
|
},
|
|
|
|
|
"ReactDOMServer-dev.js (FB_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 86907,
|
|
|
|
|
"gzip": 22791
|
2017-08-03 07:41:09 +08:00
|
|
|
},
|
|
|
|
|
"ReactDOMServer-prod.js (FB_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 31375,
|
|
|
|
|
"gzip": 8108
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"react-dom-server.node.development.js (NODE_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 85163,
|
|
|
|
|
"gzip": 23040
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
2017-08-03 07:41:09 +08:00
|
|
|
"react-dom-server.node.production.min.js (NODE_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 15026,
|
|
|
|
|
"gzip": 6017
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
|
|
|
|
"react-art.development.js (UMD_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 356125,
|
|
|
|
|
"gzip": 78802
|
2017-06-09 07:47:49 +08:00
|
|
|
},
|
|
|
|
|
"react-art.production.min.js (UMD_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 83543,
|
|
|
|
|
"gzip": 25713
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"react-art.development.js (NODE_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 280504,
|
|
|
|
|
"gzip": 59796
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"react-art.production.min.js (NODE_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 47440,
|
|
|
|
|
"gzip": 14827
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-10-24 22:26:07 +08:00
|
|
|
"ReactART-dev.js (FB_DEV)": {
|
2017-11-09 06:37:11 +08:00
|
|
|
"size": 291930,
|
|
|
|
|
"gzip": 61727
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-10-24 22:26:07 +08:00
|
|
|
"ReactART-prod.js (FB_PROD)": {
|
2017-11-09 06:37:11 +08:00
|
|
|
"size": 146916,
|
|
|
|
|
"gzip": 25076
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-10-24 22:26:07 +08:00
|
|
|
"ReactNativeRenderer-dev.js (RN_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 410160,
|
|
|
|
|
"gzip": 89957
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
2017-10-24 22:26:07 +08:00
|
|
|
"ReactNativeRenderer-prod.js (RN_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 200633,
|
|
|
|
|
"gzip": 34575
|
2017-10-24 22:26:07 +08:00
|
|
|
},
|
|
|
|
|
"ReactRTRenderer-dev.js (RN_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 286366,
|
|
|
|
|
"gzip": 60705
|
2017-10-24 22:26:07 +08:00
|
|
|
},
|
|
|
|
|
"ReactRTRenderer-prod.js (RN_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 137987,
|
|
|
|
|
"gzip": 23145
|
2017-10-24 22:26:07 +08:00
|
|
|
},
|
|
|
|
|
"ReactCSRenderer-dev.js (RN_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 277219,
|
|
|
|
|
"gzip": 57857
|
2017-10-24 22:26:07 +08:00
|
|
|
},
|
|
|
|
|
"ReactCSRenderer-prod.js (RN_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 130874,
|
|
|
|
|
"gzip": 21846
|
2017-04-05 23:47:29 +08:00
|
|
|
},
|
|
|
|
|
"react-test-renderer.development.js (NODE_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 278461,
|
|
|
|
|
"gzip": 58903
|
2017-10-23 22:06:36 +08:00
|
|
|
},
|
|
|
|
|
"react-test-renderer.production.min.js (NODE_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 46042,
|
|
|
|
|
"gzip": 14219
|
2017-04-25 09:52:10 +08:00
|
|
|
},
|
2017-10-24 22:26:07 +08:00
|
|
|
"ReactTestRenderer-dev.js (FB_DEV)": {
|
2017-11-09 06:37:11 +08:00
|
|
|
"size": 289988,
|
|
|
|
|
"gzip": 60842
|
2017-04-25 09:52:10 +08:00
|
|
|
},
|
|
|
|
|
"react-test-renderer-shallow.development.js (NODE_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 9686,
|
|
|
|
|
"gzip": 2628
|
2017-04-25 09:52:10 +08:00
|
|
|
},
|
2017-10-23 22:06:36 +08:00
|
|
|
"react-test-renderer-shallow.production.min.js (NODE_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 4865,
|
|
|
|
|
"gzip": 1795
|
2017-10-23 22:06:36 +08:00
|
|
|
},
|
2017-04-25 09:52:10 +08:00
|
|
|
"ReactShallowRenderer-dev.js (FB_DEV)": {
|
2017-11-09 06:37:11 +08:00
|
|
|
"size": 9917,
|
|
|
|
|
"gzip": 2596
|
Downgrade deprecation warnings from errors to warnings (#9650)
* Initial regeneration of results.json
**what is the change?:**
We ran `yarn build` and updated the perf. stats record.
**why make this change?:**
Some commits have landed without updating this. By getting an initial update, I can run the build script again after my changes and see any size regressions.
* Downgrade deprecation warnings from errors to warnings
**what is the change?:**
Swapping out `warning` module for a fork that uses `console.warn`.
It looks like we were using the `warning` module for deprecation notices, *but* there is also a 'deprecated' module designed specifically for deprecation notices.
However, we could not find any place that it was currently used.
Since React's build process is not 100% clear to me, I assume it could still be used somewhere by something and just updated it along with other deprecation notices.
We might consider a follow-up diff that does some clean up here;
- remove 'deprecated' module if it's unused, OR
- use 'deprecated' module for all our current deprecation warnings
**why make this change?:**
- We have had complaints about noisy warnings, in particular after introducing new deprecations
- They potentially cause CI failures
- Deprecations are not really time-sensitive, can ship without breaking your app, etc.
For more context - https://github.com/facebook/react/issues/9395
**test plan:**
`npm run test`
and unit tests for the new modules
and manual testing (WIP)
**issue:**
https://github.com/facebook/react/issues/9395
* Add 'lowPriorityWarning' to ReactExternals
**what is the change?:**
We won't bundle 'lowPriorityWarning' with the rest of React when building for Facebook.
NOTE: A parallel commit will introduce an internal implementation of 'lowPriorityWarning' in Facebook's codebase, to compensate. Will post a comment with the diff number once that is up.
**why make this change?:**
So that the sync between github and Facebook can go more smoothly!
**test plan:**
We will see when I run the sync! But this is a reasonable first step imo.
**issue:**
https://github.com/facebook/react/issues/9398
* Make state mutations an error, not low-pri warning
**what is the change?:**
Even though this is a "deprecation" warning, we still want to use 'console.error' for it.
**why make this change?:**
- It's not likely to come up now, hopefully, because this warning has been present for some time
- This will cause real issues in production if ignored
**test plan:**
`yarn test` - we did fix one test which failed bc of this change
**issue:**
https://github.com/facebook/react/issues/9398
* Fix test of assigning to this.state that was only passing in fiber
**what is the change?:**
updated a unit test for assigning directly to state; it once again raises an error and not a warning.
**why make this change?:**
So that tests pass
**test plan:**
REACT_DOM_JEST_USE_FIBER=1 yarn run test
**issue:**
* Update results.json
2017-05-24 00:35:42 +08:00
|
|
|
},
|
2017-06-09 07:47:49 +08:00
|
|
|
"react-noop-renderer.development.js (NODE_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 274977,
|
|
|
|
|
"gzip": 57886
|
2017-10-04 06:48:23 +08:00
|
|
|
},
|
2017-10-12 02:29:26 +08:00
|
|
|
"react-reconciler.development.js (NODE_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 260412,
|
|
|
|
|
"gzip": 54540
|
2017-10-12 02:29:26 +08:00
|
|
|
},
|
|
|
|
|
"react-reconciler.production.min.js (NODE_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 39420,
|
|
|
|
|
"gzip": 12247
|
2017-10-26 03:23:55 +08:00
|
|
|
},
|
|
|
|
|
"react-call-return.development.js (NODE_DEV)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 2514,
|
|
|
|
|
"gzip": 923
|
2017-10-26 03:23:55 +08:00
|
|
|
},
|
|
|
|
|
"react-call-return.production.min.js (NODE_PROD)": {
|
2017-11-09 22:55:57 +08:00
|
|
|
"size": 890,
|
|
|
|
|
"gzip": 507
|
2017-04-05 23:47:29 +08:00
|
|
|
}
|
|
|
|
|
}
|
2017-11-01 06:14:22 +08:00
|
|
|
}
|