diff --git a/scripts/error-codes/codes.json b/scripts/error-codes/codes.json index 28be4efa6b..0416dcfdf9 100644 --- a/scripts/error-codes/codes.json +++ b/scripts/error-codes/codes.json @@ -124,7 +124,7 @@ "122": "%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", "123": "ReactUpdates: must inject a reconcile transaction class and batching strategy", "124": "Expected flush transaction's stored dirty-components length (%s) to match dirty-components array length (%s).", - "125": "ReactUpdates.asap: Can't enqueue an asap callback in a context whereupdates are not being batched.", + "125": "ReactUpdates.asap: Can't enqueue an asap callback in a context where updates are not being batched.", "126": "ReactUpdates: must provide a reconcile transaction class", "127": "ReactUpdates: must provide a batching strategy", "128": "ReactUpdates: must provide a batchedUpdates() function", @@ -197,5 +197,29 @@ "195": "The internal instance must be a React host component. This error is likely caused by a bug in React. Please file an issue.", "196": "Missing injection for fiber getContextForSubtree", "197": "Injected invokeGuardedCallback() must be a function.", - "198": "clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue." + "198": "clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.", + "199": "Fiber owners should not show up in Stack stack traces.", + "200": "Target container is not a DOM element.", + "201": "ReactDOM.render(): Invalid component element. Instead of passing a string like 'div', pass React.createElement('div') or
.", + "202": "ReactDOM.render(): Invalid component element. Instead of passing a class like Foo, pass React.createElement(Foo) or