Skip to content

Commit 4f785c8

Browse files
committed
Regenerate codes.json
1 parent be2f15c commit 4f785c8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

scripts/error-codes/codes.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@
254254
"253": "work.commit(): Cannot commit while already rendering. This likely means you attempted to commit from inside a lifecycle method.",
255255
"254": "Element ref was specified as a string (%s) but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a functional component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://fb.me/react-refs-must-have-owner for more information.",
256256
"255": "Expected ReactFbErrorUtils.invokeGuardedCallback to be a function.",
257-
"256": "Expected ReactFiberErrorDialog.showErrorDialog to be a function.",
258257
"257": "Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.",
259258
"258": "Unknown element-like object type: %s. This is likely a bug in React. Please file an issue.",
260259
"259": "The experimental Call and Return types are not currently supported by the server renderer.",
@@ -270,9 +269,8 @@
270269
"269": "Profiler must specify an \"id\" string and \"onRender\" function as props",
271270
"270": "The current renderer does not support persistence. This error is likely caused by a bug in React. Please file an issue.",
272271
"271": "Failed to replay rendering after an error. This is likely caused by a bug in React. Please file an issue with a reproducing case to help us find it.",
273-
"272": "The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue.",
274272
"273": "Nesting of <View> within <Text> is not currently supported.",
275-
"274": "Text string must be rendered within a <Text> component.\n\nText: %s",
273+
"274": "Text strings must be rendered within a <Text> component.",
276274
"275": "The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue.",
277275
"276": "React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills",
278276
"277": "Context.unstable_read(): Context can only be read while React is rendering, e.g. inside the render method or getDerivedStateFromProps.",
@@ -361,5 +359,6 @@
361359
"367": "ReactDOM.createEventHandle: setListener called on an element target that is not managed by React. Ensure React rendered the DOM element.",
362360
"368": "ReactDOM.createEventHandle: setListener called on an invalid target. Provide a valid EventTarget or an element managed by React.",
363361
"369": "ReactDOM.createEventHandle: setter called on an invalid target. Provide a valid EventTarget or an element managed by React.",
364-
"370": "ReactDOM.createEventHandle: setter called with an invalid callback. The callback must be a function."
362+
"370": "ReactDOM.createEventHandle: setter called with an invalid callback. The callback must be a function.",
363+
"371": "Text string must be rendered within a <Text> component.\n\nText: %s"
365364
}

0 commit comments

Comments
 (0)