mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
* Split ReactNativeFiber into separate ReactNativeFiberRenderer module Hopefully this is sufficient to work around Rollup circular dependency problems. (To be seen in subsequent commits...) * Split findNodeHandle into findNodeHandleFiber + findNodeHandleStack This allowed me to remove the ReactNative -> findNodeHandle injections, which should in turn allow me to require a fully-functional findNodeHandle without going through ReactNative. This will hopefully allow ReactNativeBaseomponent to avoid a circular dependency. * Un-forked findNodeHandle in favor of just inlining the findNode function impl * takeSnapshot no longer requires/depends-on ReactNative for findNodeHandle Instead it uses the new, renderer-specific wrappers (eg findNodeHandleFiberWrapper and findNodeHandleStackWrapper) to ensure the returned value is numeric (or null). This avoids a circular dependency that would trip up Rollup. * NativeMethodsMixin requires findNodeHandler wrapper(s) directly rather than ReactNative This works around a potential circular dependency that would break the Rollup build * Add RN_* build targets to hash-finle-name check * Strip @providesModule annotations from headers for RN_* builds * Added process.env.REACT_NATIVE_USE_FIBER to ReactNativeFeatureFlags This is kind of a hacky solution, but it is temporary. It works around the fact that ReactNativeFeatureFlag values need to be set at build time in order to avoid a mismatch between runtime flag values. DOM avoids the need to do this by using injection but Native is not able to use this same approach due to circular dependency issues. * Moved a couple of SECRET exports to dev-only. Removed SyntheticEvent and PooledClass from SECRET exports. Converted Rollup helper function to use named params. * Split NativeMethodsMixins interface and object-type * Add @noflow header to flat-bundle template to avoid triggering Flow problems When Flow tries to infer such a large file, it consumes massive amounts of CPU/RAM and can often lead to programs crashing. It is better for such large files to use .flow.js types instead. * NativeMethodsMixin and ReactNativeFiberHostComponent now share the same Flow type * Collocated (externally exposed) ReactTypes and ReactNativeTypes into single files to be synced to fbsource. ReactNativeFiber and ReactNativeStack use ReactNativeType Flow type * Build script syncs RN types and PooledClass automatically * Added optional sync-RN step to Rollup build script * Added results.json for new RN bundles
184 lines
4.2 KiB
JSON
184 lines
4.2 KiB
JSON
{
|
|
"bundleSizes": {
|
|
"react.development.js (UMD_DEV)": {
|
|
"size": 125800,
|
|
"gzip": 31378
|
|
},
|
|
"react.production.min.js (UMD_PROD)": {
|
|
"size": 15753,
|
|
"gzip": 5824
|
|
},
|
|
"react-dom.development.js (UMD_DEV)": {
|
|
"size": 593408,
|
|
"gzip": 136701
|
|
},
|
|
"react-dom.production.min.js (UMD_PROD)": {
|
|
"size": 122214,
|
|
"gzip": 38682
|
|
},
|
|
"react-dom-server.development.js (UMD_DEV)": {
|
|
"size": 525896,
|
|
"gzip": 126687
|
|
},
|
|
"react-dom-server.production.min.js (UMD_PROD)": {
|
|
"size": 111581,
|
|
"gzip": 34959
|
|
},
|
|
"react-art.development.js (UMD_DEV)": {
|
|
"size": 349191,
|
|
"gzip": 77905
|
|
},
|
|
"react-art.production.min.js (UMD_PROD)": {
|
|
"size": 96277,
|
|
"gzip": 29313
|
|
},
|
|
"react.development.js (NODE_DEV)": {
|
|
"size": 72595,
|
|
"gzip": 18499
|
|
},
|
|
"react.production.min.js (NODE_PROD)": {
|
|
"size": 9195,
|
|
"gzip": 3614
|
|
},
|
|
"React-dev.js (FB_DEV)": {
|
|
"size": 74104,
|
|
"gzip": 18972
|
|
},
|
|
"React-prod.js (FB_PROD)": {
|
|
"size": 36836,
|
|
"gzip": 9248
|
|
},
|
|
"ReactDOMStack-dev.js (FB_DEV)": {
|
|
"size": 497667,
|
|
"gzip": 118999
|
|
},
|
|
"ReactDOMStack-prod.js (FB_PROD)": {
|
|
"size": 353129,
|
|
"gzip": 84773
|
|
},
|
|
"react-dom.development.js (NODE_DEV)": {
|
|
"size": 550984,
|
|
"gzip": 126642
|
|
},
|
|
"react-dom.production.min.js (NODE_PROD)": {
|
|
"size": 118427,
|
|
"gzip": 37300
|
|
},
|
|
"ReactDOMFiber-dev.js (FB_DEV)": {
|
|
"size": 551962,
|
|
"gzip": 127141
|
|
},
|
|
"ReactDOMFiber-prod.js (FB_PROD)": {
|
|
"size": 411657,
|
|
"gzip": 94084
|
|
},
|
|
"react-dom-server.development.js (NODE_DEV)": {
|
|
"size": 474459,
|
|
"gzip": 114087
|
|
},
|
|
"react-dom-server.production.min.js (NODE_PROD)": {
|
|
"size": 105956,
|
|
"gzip": 32782
|
|
},
|
|
"ReactDOMServerStack-dev.js (FB_DEV)": {
|
|
"size": 455985,
|
|
"gzip": 109831
|
|
},
|
|
"ReactDOMServerStack-prod.js (FB_PROD)": {
|
|
"size": 334090,
|
|
"gzip": 80459
|
|
},
|
|
"ReactARTStack-dev.js (FB_DEV)": {
|
|
"size": 143166,
|
|
"gzip": 32816
|
|
},
|
|
"ReactARTStack-prod.js (FB_PROD)": {
|
|
"size": 101182,
|
|
"gzip": 23039
|
|
},
|
|
"react-art.development.js (NODE_DEV)": {
|
|
"size": 270515,
|
|
"gzip": 57772
|
|
},
|
|
"react-art.production.min.js (NODE_PROD)": {
|
|
"size": 57662,
|
|
"gzip": 17391
|
|
},
|
|
"ReactARTFiber-dev.js (FB_DEV)": {
|
|
"size": 269773,
|
|
"gzip": 57593
|
|
},
|
|
"ReactARTFiber-prod.js (FB_PROD)": {
|
|
"size": 208053,
|
|
"gzip": 43488
|
|
},
|
|
"ReactNativeStack.js (RN)": {
|
|
"size": 233993,
|
|
"gzip": 55044
|
|
},
|
|
"ReactNativeFiber.js (RN)": {
|
|
"size": 387155,
|
|
"gzip": 84001
|
|
},
|
|
"ReactTestRendererFiber-dev.js (FB_DEV)": {
|
|
"size": 267275,
|
|
"gzip": 56465
|
|
},
|
|
"ReactTestRendererStack-dev.js (FB_DEV)": {
|
|
"size": 151770,
|
|
"gzip": 34846
|
|
},
|
|
"react-noop-renderer.development.js (NODE_DEV)": {
|
|
"size": 259192,
|
|
"gzip": 54435
|
|
},
|
|
"react-test-renderer.development.js (NODE_DEV)": {
|
|
"size": 268026,
|
|
"gzip": 56654
|
|
},
|
|
"react-dom-test-utils.development.js (NODE_DEV)": {
|
|
"size": 52792,
|
|
"gzip": 13569
|
|
},
|
|
"ReactTestUtils-dev.js (FB_DEV)": {
|
|
"size": 52725,
|
|
"gzip": 13564
|
|
},
|
|
"react-test-renderer-stack.development.js (NODE_DEV)": {
|
|
"size": 152686,
|
|
"gzip": 35015
|
|
},
|
|
"react-test-renderer-shallow.development.js (NODE_DEV)": {
|
|
"size": 8108,
|
|
"gzip": 2247
|
|
},
|
|
"ReactShallowRenderer-dev.js (FB_DEV)": {
|
|
"size": 8063,
|
|
"gzip": 2229
|
|
},
|
|
"ReactDOMServerStream-dev.js (FB_DEV)": {
|
|
"size": 472917,
|
|
"gzip": 113925
|
|
},
|
|
"ReactDOMServerStream-prod.js (FB_PROD)": {
|
|
"size": 345920,
|
|
"gzip": 83497
|
|
},
|
|
"ReactNativeStack-dev.js (RN_DEV)": {
|
|
"size": 350743,
|
|
"gzip": 63769
|
|
},
|
|
"ReactNativeStack-prod.js (RN_PROD)": {
|
|
"size": 269602,
|
|
"gzip": 46634
|
|
},
|
|
"ReactNativeFiber-dev.js (RN_DEV)": {
|
|
"size": 327677,
|
|
"gzip": 59441
|
|
},
|
|
"ReactNativeFiber-prod.js (RN_PROD)": {
|
|
"size": 248866,
|
|
"gzip": 43107
|
|
}
|
|
}
|
|
} |