Skip to content
JS
Errors

React errors

Rendering, hooks and hydration errors.

598 entries0 written pages
Showing 301 to 350 of 598Source: React error codes
CodeError
React error #305The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue.
React error #306Element type is invalid. Received a promise that resolves to: %s. Lazy element type must resolve to a class or function.%s
React error #307Hooks can only be called inside the body of a function component. (https://react.dev/link/invalid-hook-call)
React error #308Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In...
React error #309Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here:...
React error #310Rendered more hooks than during the previous render.
React error #311Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)
React error #312Rendered more hooks than during the previous render
React error #313Unknown priority level. This error is likely caused by a bug in React. Please file an issue.
React error #314Pinged unknown suspense boundary type. This is probably a bug in React.
React error #315Suspense boundaries are never on the root. This is probably a bug in React.
React error #316Expected skipPastDehydratedSuspenseInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.
React error #317Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.
React error #318A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.
React error #319A dehydrated suspense boundary must commit before trying to render. This is probably a bug in React.
React error #320Expected ReactFiberErrorDialog.showErrorDialog to be a function.
React error #321Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following...
React error #322forwardRef requires a render function but was given %s.
React error #323React has blocked a javascript: URL as a security precaution.
React error #326Expected a valid priority level
React error #327Should not already be working.
React error #328Should have a work-in-progress.
React error #329Unknown root exit status.
React error #330Should be working on an effect.
React error #331Cannot flush passive effects while already rendering.
React error #332Unknown priority level.
React error #333This should have a parent host component initialized. This error is likely caused by a bug in React. Please file an issue.
React error #334Accumulated items must not be null or undefined.
React error #335ReactDOMServer does not yet support the event API.
React error #338ReactDOMServer does not yet support the fundamental API.
React error #340Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.
React error #341We just came from a parent so we must have had a parent. This is a bug in React.
React error #342A React component suspended while rendering, but no fallback UI was specified. Add a <Suspense fallback=...> component higher in the tree...
React error #343ReactDOMServer does not yet support scope components.
React error #344Expected prepareToHydrateHostSuspenseInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.
React error #345Root did not complete. This is a bug in React.
React error #348ensureListeningTo(): received a container that was not an element node. This is likely a bug in React.
React error #349Expected a work-in-progress root. This is a bug in React. Please file an issue.
React error #350Cannot read from mutable source during the current render without tearing. This may be a bug in React. Please file an issue.
React error #351Unsupported Server Component type: %s
React error #352React Lazy Components are not yet supported on the server.
React error #353A server block should never encode any other slots. This is a bug in React.
React error #354getInspectorDataForViewAtPoint() is not available in production.
React error #355The object passed back from useOpaqueIdentifier is meant to be passed through to attributes only. Do not read the value directly. (TODO:...
React error #356Could not read the cache.
React error #357The current renderer does not support React Scopes. This error is likely caused by a bug in React. Please file an issue.
React error #358Invalid update priority: %s. This is a bug in React.
React error #360Invalid lane: %s. This is a bug in React.
React error #361The current renderer does not support test selectors. This error is likely caused by a bug in React. Please file an issue.
React error #362Could not find React container within specified host subtree.

Other families: JavaScript, Node.js, npm, Next.js, TypeScript, Vite, webpack, Jest