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

Regenerate error codes and update bundle size stats #10287

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
57 changes: 55 additions & 2 deletions scripts/error-codes/codes.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,58 @@
"141": "Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren().",
"142": "Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).",
"143": "React.Children.only expected to receive a single React element child.",
"144": "React.PropTypes type checking code is stripped in production."
}
"144": "React.PropTypes type checking code is stripped in production.",
"145": "React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.",
"146": "Missing owner for string ref %s. This error is likely caused by a bug in React. Please file an issue.",
"147": "Expected ref to be a function or a string.",
"148": "Element ref was specified as a string (%s) but no owner was set. You may have multiple copies of React loaded. (details: https://fb.me/react-refs-must-have-owner).",
"149": "An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.",
"150": "An iterable object provided no iterator.",
"151": "%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",
"152": "Resuming work not yet implemented.",
"153": "We should always have pending or current props. This error is likely caused by a bug in React. Please file an issue.",
"154": "An indeterminate component should never have mounted. This error is likely caused by a bug in React. Please file an issue.",
"155": "Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.",
"156": "Invalid type of work. This error is likely caused by a bug in React. Please file an issue.",
"157": "There must be pending props for an initial mount. This error is likely caused by a bug in React. Please file an issue.",
"158": "There should always be pending or memoized props. This error is likely caused by a bug in React. Please file an issue.",
"159": "Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.",
"160": "Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.",
"161": "This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.",
"162": "This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.",
"163": "A coroutine cannot have host component children.",
"164": "Should be resolved by now. This error is likely caused by a bug in React. Please file an issue.",
"165": "We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.",
"166": "An indeterminate component should have become determinate before completing. This error is likely caused by a bug in React. Please file an issue.",
"167": "Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.",
"168": "Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.",
"169": "Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.",
"170": "Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.",
"171": "The custom dialog was already injected.",
"172": "Injected showDialog() must be a function.",
"173": "Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.",
"174": "Expected prepareToHydrateHostInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.",
"175": "Expected prepareToHydrateHostTextInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.",
"176": "Cannot commit the same tree as before. This is probably a bug related to the return field. This error is likely caused by a bug in React. Please file an issue.",
"177": "Should have next effect. This error is likely caused by a bug in React. Please file an issue.",
"178": "Should have a pending commit. This error is likely caused by a bug in React. Please file an issue.",
"179": "Commit phase errors should be scheduled to recover with task priority. This error is likely caused by a bug in React. Please file an issue.",
"180": "Switch statement should be exhuastive. This error is likely caused by a bug in React. Please file an issue.",
"181": "performWork was called recursively. This error is likely caused by a bug in React. Please file an issue.",
"182": "Should have found an error boundary. This error is likely caused by a bug in React. Please file an issue.",
"183": "No error for given unit of work. This error is likely caused by a bug in React. Please file an issue.",
"184": "Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.",
"185": "Task updates can only be scheduled as a nested update or inside batchedUpdates.",
"186": "flushSync was called from inside a lifecycle method. It cannot be called when React is already rendering.",
"187": "Unable to find node on an unmounted component.",
"188": "Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.",
"189": "Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.",
"190": "Invalid argument passed as callback. Expected a function. Instead received: %s",
"191": "React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers.",
"192": "The server renderer does not implement support for array children yet.",
"193": "Fiber needs to be injected to handle a fiber target for controlled events. This error is likely caused by a bug in React. Please file an issue.",
"194": "The internal instance must be a React host component. This error is likely caused by a bug in React. Please file an issue.",
"195": "Missing injection for fiber getContextForSubtree",
"196": "Injected invokeGuardedCallback() must be a function.",
"197": "clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue."
}
140 changes: 70 additions & 70 deletions scripts/rollup/results.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,36 +25,36 @@
"gzip": 6705
},
"react-dom.development.js (UMD_DEV)": {
"size": 630876,
"gzip": 143999
"size": 635559,
"gzip": 145168
},
"react-dom.production.min.js (UMD_PROD)": {
"size": 127001,
"gzip": 40233
"size": 121489,
"gzip": 38896
},
"react-dom.development.js (NODE_DEV)": {
"size": 590270,
"gzip": 134359
"size": 594953,
"gzip": 135561
},
"react-dom.production.min.js (NODE_PROD)": {
"size": 123917,
"gzip": 39159
"size": 118405,
"gzip": 37802
},
"ReactDOMFiber-dev.js (FB_DEV)": {
"size": 589473,
"gzip": 134510
"size": 593633,
"gzip": 135769
},
"ReactDOMFiber-prod.js (FB_PROD)": {
"size": 429198,
"gzip": 96890
"size": 430330,
"gzip": 97040
},
"react-dom-test-utils.development.js (NODE_DEV)": {
"size": 55880,
"gzip": 14123
"size": 56074,
"gzip": 14162
},
"ReactTestUtils-dev.js (FB_DEV)": {
"size": 55759,
"gzip": 14090
"size": 55864,
"gzip": 14128
},
"ReactDOMServerStack-dev.js (FB_DEV)": {
"size": 460810,
Expand All @@ -65,20 +65,20 @@
"gzip": 81957
},
"react-dom-server.development.js (UMD_DEV)": {
"size": 121172,
"gzip": 30762
"size": 121220,
"gzip": 30768
},
"react-dom-server.production.min.js (UMD_PROD)": {
"size": 20365,
"gzip": 7841
"size": 19961,
"gzip": 7706
},
"react-dom-server.development.js (NODE_DEV)": {
"size": 90322,
"gzip": 23339
"size": 90370,
"gzip": 23345
},
"react-dom-server.production.min.js (NODE_PROD)": {
"size": 18871,
"gzip": 7306
"size": 18830,
"gzip": 7277
},
"ReactDOMServerStream-dev.js (FB_DEV)": {
"size": 264750,
Expand All @@ -89,52 +89,52 @@
"gzip": 51047
},
"react-art.development.js (UMD_DEV)": {
"size": 368287,
"gzip": 81442
"size": 372797,
"gzip": 82485
},
"react-art.production.min.js (UMD_PROD)": {
"size": 99307,
"gzip": 30380
"size": 94130,
"gzip": 29136
},
"react-art.development.js (NODE_DEV)": {
"size": 289654,
"gzip": 61394
"size": 294164,
"gzip": 62451
},
"react-art.production.min.js (NODE_PROD)": {
"size": 60869,
"gzip": 18455
"size": 55693,
"gzip": 17237
},
"ReactARTFiber-dev.js (FB_DEV)": {
"size": 289007,
"gzip": 61246
"size": 293024,
"gzip": 62518
},
"ReactARTFiber-prod.js (FB_PROD)": {
"size": 219348,
"gzip": 45493
"size": 220085,
"gzip": 45544
},
"ReactNativeStack-dev.js (RN_DEV)": {
"size": 188707,
"gzip": 36597
"size": 188492,
"gzip": 36707
},
"ReactNativeStack-prod.js (RN_PROD)": {
"size": 137218,
"gzip": 26349
"size": 137361,
"gzip": 26398
},
"ReactNativeFiber-dev.js (RN_DEV)": {
"size": 289116,
"gzip": 52383
"size": 289842,
"gzip": 52523
},
"ReactNativeFiber-prod.js (RN_PROD)": {
"size": 223104,
"gzip": 38918
"size": 223941,
"gzip": 38910
},
"react-test-renderer.development.js (NODE_DEV)": {
"size": 286841,
"gzip": 60294
"size": 291527,
"gzip": 61318
},
"ReactTestRendererFiber-dev.js (FB_DEV)": {
"size": 286185,
"gzip": 60147
"size": 290345,
"gzip": 61392
},
"react-test-renderer-shallow.development.js (NODE_DEV)": {
"size": 10302,
Expand All @@ -145,8 +145,8 @@
"gzip": 2541
},
"react-noop-renderer.development.js (NODE_DEV)": {
"size": 280941,
"gzip": 58708
"size": 285454,
"gzip": 59727
},
"ReactHTMLString-dev.js (FB_DEV)": {
"size": 265654,
Expand Down Expand Up @@ -181,20 +181,20 @@
"gzip": 50920
},
"ReactDOMServer-dev.js (FB_DEV)": {
"size": 89834,
"gzip": 23287
"size": 89864,
"gzip": 23290
},
"ReactDOMServer-prod.js (FB_PROD)": {
"size": 49640,
"gzip": 13644
"size": 49670,
"gzip": 13643
},
"react-dom-node-stream.development.js (NODE_DEV)": {
"size": 92016,
"gzip": 23840
"size": 92064,
"gzip": 23841
},
"react-dom-node-stream.production.min.js (NODE_PROD)": {
"size": 19808,
"gzip": 7646
"size": 19771,
"gzip": 7621
},
"ReactDOMNodeStream-dev.js (FB_DEV)": {
"size": 264918,
Expand All @@ -205,28 +205,28 @@
"gzip": 50956
},
"react-dom-unstable-native-dependencies.development.js (UMD_DEV)": {
"size": 87163,
"gzip": 21689
"size": 89821,
"gzip": 22749
},
"react-dom-unstable-native-dependencies.production.min.js (UMD_PROD)": {
"size": 18899,
"gzip": 6159
"size": 18340,
"gzip": 5957
},
"react-dom-unstable-native-dependencies.development.js (NODE_DEV)": {
"size": 80583,
"gzip": 19737
"size": 83247,
"gzip": 20814
},
"react-dom-unstable-native-dependencies.production.min.js (NODE_PROD)": {
"size": 17154,
"gzip": 5513
"size": 16978,
"gzip": 5428
},
"ReactDOMUnstableNativeDependencies-dev.js (FB_DEV)": {
"size": 79722,
"gzip": 19614
"size": 82946,
"gzip": 20786
},
"ReactDOMUnstableNativeDependencies-prod.js (FB_PROD)": {
"size": 67005,
"gzip": 15921
"size": 67257,
"gzip": 16014
}
}
}