Errors
React errors
Rendering, hooks and hydration errors.
598 entries0 written pages
Showing 251 to 300 of 598Source: React error codes
| Code | Error | Category | Page |
|---|---|---|---|
| React error #251 | batch.commit: Cannot commit a batch multiple times. | Minified React error | Reference |
| React error #252 | The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a... | Minified React error | Reference |
| React error #253 | work.commit(): Cannot commit while already rendering. This likely means you attempted to commit from inside a lifecycle method. | Minified React error | Reference |
| React error #254 | Element ref was specified as a string (%s) but no owner was set. This could happen for one of the following reasons: 1. You may be adding... | Minified React error | Reference |
| React error #255 | Expected ReactFbErrorUtils.invokeGuardedCallback to be a function. | Minified React error | Reference |
| React error #257 | Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render. | Minified React error | Reference |
| React error #258 | Unknown element-like object type: %s. This is likely a bug in React. Please file an issue. | Minified React error | Reference |
| React error #259 | The experimental Call and Return types are not currently supported by the server renderer. | Minified React error | Reference |
| React error #260 | Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s. | Minified React error | Reference |
| React error #261 | Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue. | Minified React error | Reference |
| React error #262 | Expired work should have completed. This error is likely caused by a bug in React. Please file an issue. | Minified React error | Reference |
| React error #263 | dispatch: Cannot dispatch during the render phase. | Minified React error | Reference |
| React error #264 | An error logging effect should not have been scheduled if no errors were captured. This error is likely caused by a bug in React. Please... | Minified React error | Reference |
| React error #265 | This unit of work tag cannot capture errors. This error is likely caused by a bug in React. Please file an issue. | Minified React error | Reference |
| React error #266 | A subscription must return an unsubscribe function. | Minified React error | Reference |
| React error #267 | The argument must be a React element, but you passed %s. | Minified React error | Reference |
| React error #268 | Argument appears to not be a ReactComponent. Keys: %s | Minified React error | Reference |
| React error #269 | Profiler must specify an "id" string and "onRender" function as props | Minified React error | Reference |
| React error #270 | The current renderer does not support persistence. This error is likely caused by a bug in React. Please file an issue. | Minified React error | Reference |
| React error #271 | Failed to replay rendering after an error. This is likely caused by a bug in React. Please file an issue with a reproducing case to help... | Minified React error | Reference |
| React error #273 | Nesting of <View> within <Text> is not currently supported. | Minified React error | Reference |
| React error #274 | Text strings must be rendered within a <Text> component. | Minified React error | Reference |
| React error #275 | The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue. | Minified React error | Reference |
| React error #276 | React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills | Minified React error | Reference |
| React error #277 | Context.unstable_read(): Context can only be read while React is rendering, e.g. inside the render method or getDerivedStateFromProps. | Minified React error | Reference |
| React error #278 | unstable_createRoot(...): Target container is not a DOM element. | Minified React error | Reference |
| React error #279 | Trying to release an event instance into a pool of a different type. | Minified React error | Reference |
| React error #280 | setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React.... | Minified React error | Reference |
| React error #281 | Finished root should have a work-in-progress. This error is likely caused by a bug in React. Please file an issue. | Minified React error | Reference |
| React error #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... | Minified React error | Reference |
| React error #283 | Element type is invalid. Received a promise that resolves to: %s. Promise elements must resolve to a class or function. | Minified React error | Reference |
| React error #284 | Expected ref to be a function, an object returned by React.createRef(), or undefined/null. | Minified React error | Reference |
| React error #285 | The root failed to unmount after an error. This is likely a bug in React. Please file an issue. | Minified React error | Reference |
| React error #286 | %s(...): the first argument must be a React class instance. Instead received: %s. | Minified React error | Reference |
| React error #287 | It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the... | Minified React error | Reference |
| React error #288 | It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the... | Minified React error | Reference |
| React error #289 | Function components cannot have refs. | Minified React error | Reference |
| React error #290 | Element ref was specified as a string (%s) but no owner was set. This could happen for one of the following reasons: 1. You may be adding... | Minified React error | Reference |
| React error #292 | The matcher `toHaveYielded` expects an instance of React Test Renderer. Try: expect(Scheduler).toHaveYielded(expectedYields) | Minified React error | Reference |
| React error #293 | Context can only be read while React is rendering, e.g. inside the render method or getDerivedStateFromProps. | Minified React error | Reference |
| React error #294 | ReactDOMServer does not yet support Suspense. | Minified React error | Reference |
| React error #295 | ReactDOMServer does not yet support lazy-loaded components. | Minified React error | Reference |
| React error #297 | The matcher `unstable_toHaveYielded` expects an instance of React Test Renderer. Try:... | Minified React error | Reference |
| React error #298 | Hooks can only be called inside the body of a function component. | Minified React error | Reference |
| React error #299 | Target container is not a DOM element. | Minified React error | Reference |
| React error #300 | Rendered fewer hooks than expected. This may be caused by an accidental early return statement. | Minified React error | Reference |
| React error #301 | Too many re-renders. React limits the number of renders to prevent an infinite loop. | Minified React error | Reference |
| React error #302 | It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the... | Minified React error | Reference |
| React error #303 | ReactDOMServer did not find an internal fallback frame for Suspense. This is a bug in React. Please file an issue. | Minified React error | Reference |
| React error #304 | Maximum number of concurrent React renderers exceeded. This can happen if you are not properly destroying the Readable provided by React.... | Minified React error | Reference |
Other families: JavaScript, Node.js, npm, Next.js, TypeScript, Vite, webpack, Jest