From 92a620e214e5abb985d2800cc792294e09cb19f6 Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Thu, 6 Sep 2018 09:34:27 -0700 Subject: [PATCH] Update error codes for 16.5.0 release --- scripts/error-codes/codes.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/error-codes/codes.json b/scripts/error-codes/codes.json index c98bbb05e1..71f4090d9a 100644 --- a/scripts/error-codes/codes.json +++ b/scripts/error-codes/codes.json @@ -275,5 +275,15 @@ "273": "Nesting of within is not currently supported.", "274": "Text strings must be rendered within a component.", "275": "The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue.", - "276": "React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills" + "276": "React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills", + "277": "Context.unstable_read(): Context can only be read while React is rendering, e.g. inside the render method or getDerivedStateFromProps.", + "278": "unstable_createRoot(...): Target container is not a DOM element.", + "279": "Trying to release an event instance into a pool of a different type.", + "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.", + "281": "Finished root should have a work-in-progress. This error is likely caused by a bug in React. Please file an issue.", + "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.", + "283": "Element type is invalid. Received a promise that resolves to: %s. Promise elements must resolve to a class or function.", + "284": "Expected ref to be a function, a string, an object returned by React.createRef(), or null.", + "285": "The root failed to unmount after an error. This is likely a bug in React. Please file an issue.", + "286": "%s(...): the first argument must be a React class instance. Instead received: %s." }