Skip to content

Commit 92a620e

Browse files
author
Brian Vaughn
committed
Update error codes for 16.5.0 release
1 parent 6255cc3 commit 92a620e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

scripts/error-codes/codes.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,5 +275,15 @@
275275
"273": "Nesting of <View> within <Text> is not currently supported.",
276276
"274": "Text strings must be rendered within a <Text> component.",
277277
"275": "The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue.",
278-
"276": "React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"
278+
"276": "React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills",
279+
"277": "Context.unstable_read(): Context can only be read while React is rendering, e.g. inside the render method or getDerivedStateFromProps.",
280+
"278": "unstable_createRoot(...): Target container is not a DOM element.",
281+
"279": "Trying to release an event instance into a pool of a different type.",
282+
"280": "setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.",
283+
"281": "Finished root should have a work-in-progress. This error is likely caused by a bug in React. Please file an issue.",
284+
"282": "If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue.",
285+
"283": "Element type is invalid. Received a promise that resolves to: %s. Promise elements must resolve to a class or function.",
286+
"284": "Expected ref to be a function, a string, an object returned by React.createRef(), or null.",
287+
"285": "The root failed to unmount after an error. This is likely a bug in React. Please file an issue.",
288+
"286": "%s(...): the first argument must be a React class instance. Instead received: %s."
279289
}

0 commit comments

Comments
 (0)