@samitouri / QOS-React-2 / commits / 92a620e214

Update error codes for 16.5.0 release

Brian Vaughn committed Sep 6, 2018 at 09:34 UTC 92a620e214e5abb985d2800cc792294e09cb19f6
1 file changed +11 -1
scripts/error-codes/codes.json
+11 -1
@@ -275,5 +275,15 @@
275 "273": "Nesting of <View> within <Text> is not currently supported.",
276 "274": "Text strings must be rendered within a <Text> component.",
277 "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."
289 }