facebook/react
Documented errors, page 3 of 4. Back to facebook/react
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Could not find the module | exception | critical | react-server-components, server-actions, bundler-manifest, webpack, stale-build |
| handlePostCommitFiberRoot not supported by this renderer | exception | error | devtools, fiber, commit, legacy-renderer, profiler |
438 An unsupported type was passed to use() | exception | error | use-hook, invalid-argument, server-components, ssr |
| A rejected Promise was passed to React without a `reason`… | exception | error | react, suspense, use, promise, thenable, instrumentation |
| Expected mounted root to have known pseudo key. | exception | error | react-devtools, fiber-root, selection-restore, internal-invariant, bookkeeping |
599 Expected an initialized chunk but got an initialized stream chunk instead. This… | exception | error | react, server-actions, version-mismatch, deserialization |
191 Invalid argument passed as callback. Expected a function. Instead received | exception | error | setstate, class-components, callback, validation |
376 Only global symbols received from Symbol.for(...) can be passed to Client… | exception | error | symbol, serialization, props, server-components |
386 The current renderer does not support microtasks. This error is likely caused… | exception | error | microtasks, custom-renderer, renderer-capability, suspense |
305 The current renderer does not support hydration. This error is likely caused by… | exception | error | hydration, custom-renderer, renderer-capability, react-native |
374 Event handlers cannot be passed to Client Component props. | exception | error | event-handlers, props, functions, server-components |
| input is a self-closing tag and must neither have… | exception | error | ssr, input, void-element, children, dangerouslysetinnerhtml |
| React currently only supports piping to one writable stream. | exception | error | react-server-components, parcel, node-streams, ssr, render-to-pipeable-stream |
| Section offsets must be ordered and non-overlapping. | validation | error | devtools, source-map, indexed-source-map, hooks, bundler |
536 Cannot pass ref in renderToHTML because they will never be hydrated. | exception | error | ref, rendertohtml, react-markup, static-markup |
233 Unsupported top level event type | exception | error | react-native, events, native-modules, view-manager, event-registration |
| render: Unsupported Legacy Mode API. | exception | error | react-native, legacy-mode, concurrent-mode, fabric |
| There should always be a SuspenseNode parent on a mounted… | exception | error | react-devtools, invariant, suspense, highlight, lookup, internal |
| Expected source to have been transformed to a string. | exception | error | node-esm, module-loader, buffer, react-server-components |
357 The current renderer does not support React Scopes. This error is likely caused… | exception | error | scopes, experimental, custom-renderer, renderer-capability |
| Should have a root instance for a committed root. This is a… | exception | error | react-devtools, invariant, root-instance, console-logs, internal |
559 Expected to find a host node. This is a bug in React. | exception | error | react-native, fabric, host-instance, invariant, inspector |
| Missing getServerSnapshot, which is required for… | exception | error | hooks, usesyncexternalstore, ssr, external-store, hydration |
| react-dom/unstable_testing is not supported in React Server… | exception | error | react-server-components, react-dom, testing, act, import-time-error |
| Unknown Fiber. Needs to be a function component to inspect… | exception | error | react, devtools, fiber, hooks, inspection, type-guard |
409 Cannot update an unmounted root. | exception | error | react-dom, createroot, unmount, lifecycle, stale-reference |
| Expected source to have been loaded into a string. | exception | error | node-esm, module-loader, buffer, react-server-components |
| A function wrapped in useEffectEvent can't be called during… | exception | error | hooks, useeffectevent, experimental, ssr, fizz |
| TODO: Implement the server compiler. | exception | error | webpack, plugin, not-implemented, react-server-components |
362 Could not find React container within specified host subtree. | exception | error | test-selectors, devtools, container, find-all-nodes |
61 `props.dangerouslySetInnerHTML` must be in the form | exception | error | react-dom, dangerouslysetinnerhtml, props-validation, xss |
| Not yet implemented. | exception | error | react-native, fabric, offscreen, activity, not-implemented |
| taintUniqueValue cannot taint objects or functions. Try… | exception | error | security, taint-apis, taintuniquevalue, taintobjectreference, wrong-api |
| Use react-server-dom-parcel/client instead. | exception | error | react-server-components, parcel, package-exports, imports |
354 getInspectorDataForViewAtPoint() is not available in production. | exception | error | react-native, inspector, dev-only-api, production |
60 Can only set one of `children` or `props.dangerouslySetInnerHTML`. | exception | error | react-dom, dangerouslysetinnerhtml, children, props-validation |
| React Server Plugin: You must specify the isServer option… | exception | error | webpack, plugin, options, validation, react-server-components |
| Can only set one of `children` or… | exception | error | ssr, dangerouslysetinnerhtml, children, props, hydration |
156 Unknown unit of work tag | exception | error | version-mismatch, fiber, bundler, reconciler |
| handleCommitFiberUnmount not supported by this renderer | exception | error | devtools, fiber, unmount, legacy-renderer, react-15 |
| Attempted to measure a Suspense node that does not exist. | exception | error | react-devtools, invariant, suspense, measurement, highlight, internal |
| menuitems cannot have `children` nor… | exception | error | ssr, menuitem, void-element, children, deprecated |
130 Element type is invalid: expected a string (for built-in components) or a… | exception | error | invalid-element-type, imports, undefined, ssr |
407 Missing getServerSnapshot, which is required for server-rendered content. Will… | exception | error | react, hooks, use-sync-external-store, ssr, hydration, external-store |
| No server callback has been registered. Call… | exception | error | react-server-components, server-actions, parcel, bootstrap |
489 Expected the resume to render < | exception | warning | ssr, resume, tree-mismatch, component-mismatch |
| link is a self-closing tag and must neither have `children`… | exception | error | ssr, link, void-element, children, dangerouslysetinnerhtml |
231 Expected ` ` listener to be a function, instead got a value of ` ` type. | exception | error | react-native, event-handlers, props, type-error |
| React Hook useInsertionEffect requires an effect callback… | console | warning | hooks, use-insertion-effect, css-in-js, missing-argument, dev-only |
| Rendered more hooks than during the previous render | exception | error | hooks, rules-of-hooks, conditional-hooks, ssr, fizz |
166 We must have new props for new mounts. This error is likely caused by a bug in… | exception | error | host-singleton, complete-phase, aborted-render, invariant |
| overrideSuspenseMilestone not supported by this renderer | exception | error | devtools, suspense, milestone, debug-toggle, legacy-renderer |
284 Expected ref to be a function, an object returned by React.createRef(), or… | exception | error | refs, props, validation, beginwork |
96 EventPluginRegistry: Cannot inject event plugins that do not exist in the… | exception | error | react-native, legacy-events, event-plugins, registration |
| react-dom/static is not supported in React Server… | exception | error | react-server-components, react-dom, static-generation, prerender, import-time-error |
| The ` ` tag may only be rendered once. | exception | error | ssr, html, preamble, document-structure |
524 Values cannot be passed to next() of AsyncIterables passed to Client Components. | exception | error | react, server-components, async-iterator, use, flight-protocol |
| `props.dangerouslySetInnerHTML` must be in the form | exception | error | ssr, dangerouslysetinnerhtml, props |
387 Should have a current fiber. This is a bug in React. | exception | error | fiber-root, root-lifecycle, invariant, beginwork |
| Bridge event names must be non-empty strings. | validation | error | devtools, bridge, event-name, validation |
533 Attempted to render a Server Action from renderToHTML. This is not supported… | exception | error | react-server-components, server-actions, rendertohtml, forms, static-rendering |
| React.Children.only expected to receive a single React… | exception | error | react-children, children-only, single-child, isvalidelement |
| This synthetic event is reused for performance reasons. If… | console | error | |
537 Cannot pass event handlers | exception | error | event-handlers, rendertohtml, react-markup, static-markup |
| Objects are not valid as a React child | exception | error | react-children, invalid-child, jsx, objects-as-children |
| can only have at most one child. | exception | error | ssr, textarea, children, jsx |
| isChildPublicInstance() is not available in production. | exception | error | react-native, dev-only-api, production, public-instance |
| Cannot assign to a client module from a server module. | exception | error | rsc, react-server-components, client-boundary, mutation, proxy, unbundled |
| Only objects or functions can be passed to… | exception | error | security, taint-apis, taintobjectreference, null-argument, invalid-type |
137 is a void element tag and must neither have `children` nor use… | exception | error | react-dom, void-element, img, children, props-validation |
529 Expected stylesheet with precedence to not be updated to a different kind of | exception | error | |
95 processEventQueue(): Additional events were enqueued while processing an event… | exception | error | react-native, legacy-events, event-batching, reentrancy |
| The argument must be a React element, but you passed | exception | error | cloneelement, isvalidelement, children, null-argument |
503 Cannot use() an already resolved Client Reference. | exception | error | react, use, client-references, server-components |
| React Hook useLayoutEffect requires an effect callback. Did… | console | warning | hooks, use-layout-effect, missing-argument, dev-only, common-mistake |
| Invalid hook call. Hooks can only be called inside of the… | exception | error | invalid-hook-call, use-id, rules-of-hooks, ssr, duplicate-react |
528 Expected not to update to be updated to a stylesheet with precedence. Check the… | exception | error | |
31 Objects are not valid as a React child | exception | error | invalid-child, objects, jsx, ssr |
| Too many re-renders. React limits the number of renders to… | exception | error | hooks, setstate, infinite-loop, render-phase-update, ssr |
| startGestureTransition should not be exported when the… | exception | error | experimental-api, feature-flag, gesture-transition, release-channel |
433 useId can only be used while React is rendering | exception | error | react, server-components, useid, hooks, invalid-hook-call |
| Only objects or functions can be passed to… | exception | error | security, taint-apis, taintobjectreference, wrong-api |
| No instances found | exception | error | testing, react-test-renderer, find-by-type, query-no-match |
| Use react-server-dom-turbopack/client instead. | exception | critical | react-server-components, turbopack, npm, package-exports, import-time-error |
568 Already initialized typed array. | exception | error | react, server-actions, deserialization, typed-array |
| overrideError not supported by this renderer | exception | error | devtools, error-boundary, debug-toggle, legacy-renderer |
329 Unknown root exit status. | exception | error | internal-invariant, render, exit-status |
452 React expected an element (document.documentElement) to exist in the Document… | exception | error | |
| takes an object of state variables to update or a function… | exception | error | class-component, setstate, invalid-argument |
163 This unit of work tag should not have side-effects. This error is likely caused… | exception | error | commit-phase, snapshot, class-components, invariant |
| `dangerouslySetInnerHTML` does not make sense on | exception | error | ssr, textarea, dangerouslysetinnerhtml |
| startTransition cannot be called during server rendering. | exception | error | hooks, usetransition, starttransition, ssr, fizz |
| act(...) is not supported in production builds of React. | exception | error | testing, act, production-build, node-env, jest |
| Use react-server-dom-unbundled/client instead. | exception | error | rsc, react-server-components, unbundled, imports, entry-point, npm |
97 EventPluginRegistry: Event plugins must implement an `extractEvents` method, but | exception | error | react-native, legacy-events, event-plugins, interface |
| overrideSuspense not supported by this renderer | exception | error | devtools, suspense, debug-toggle, legacy-renderer |
574 Invalid forward reference. | exception | error | react, server-actions, deserialization, flight-protocol, truncation |
108 .getChildContext(): key " " is not defined in childContextTypes. | exception | error | legacy-context, child-context-types, class-components, ssr |
| A Timeline is required as the first argument to… | exception | error | gesture-transition, missing-argument, null-argument, experimental-api |
| Can't access .root on unmounted test renderer | exception | error | testing, react-test-renderer, unmounted, root-access |