@samitouri / QOS-React / commits / 3cd89daed9

Update error codes

Andrew Clark committed Nov 12, 2018 at 17:59 UTC 3cd89daed9a60c91bfdb802dbefb779f6da4b1b7
1 file changed +5 -1
scripts/error-codes/codes.json
+5 -1
@@ -300,5 +300,9 @@
300 "298": "Hooks can only be called inside the body of a function component.",
301 "299": "%s(...): Target container is not a DOM element.",
302 "300": "Rendered fewer hooks than expected. This may be caused by an accidental early return statement.",
303 - "301": "Too many re-renders. React limits the number of renders to prevent an infinite loop."
303 + "301": "Too many re-renders. React limits the number of renders to prevent an infinite loop.",
304 + "302": "It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. Your bundler might have a setting for aliasing both modules. Learn more at http://fb.me/react-profiling",
305 + "303": "suspense fallback not found, something is broken",
306 + "304": "Maximum number of concurrent React renderers exceeded. This can happen if you are not properly destroying the Readable provided by React. Ensure that you call .destroy() on it if you no longer want to read from it, and did not read to the end. If you use .pipe() this should be automatic.",
307 + "305": "The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue."
308 }