facebook/react
Documented errors, page 2 of 4. Back to facebook/react
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Could not find the module | exception | error | react-server-components, bundler, manifest, client-reference, flight |
462 Unexpected SuspendedReason. This is a bug in React. | exception | error | internal-invariant, work-loop, suspense, time-slicing |
| React is running in production mode, but dead code… | exception | warning | production, dead-code-elimination, bundler, performance, react |
532 Attempted to render a Client Component from renderToHTML. This is not supported… | exception | error | rendertohtml, client-components, static-generation, server-components |
| componentWillUpdate has been renamed, and is not… | console | warning | legacy-lifecycles, component-will-update, class-components, strict-mode, deprecation |
| Server Functions cannot be called during initial render… | exception | error | react-server-components, server-functions, edge-runtime, ssr, waterfall |
| componentWillReceiveProps has been renamed, and is not… | console | warning | legacy-lifecycles, component-will-receive-props, class-components, strict-mode, derived-state, deprecation |
| Symbols cannot be passed to a Server Function without a… | exception | error | server-functions, serialization, symbols, rsc, temporary-references |
| Cannot have both "use client" and "use server" directives… | exception | error | use-client, use-server, react-server-components, directives, rsc |
| React Refresh Babel transform should only be enabled in… | exception | error | babel, react-refresh, fast-refresh, build-config, environment |
| Use react-server-dom-webpack/client instead. | exception | error | react-server-components, webpack, package-exports, imports |
375 Functions cannot be passed directly to Client Components unless you explicitly… | exception | error | functions, props, server-actions, server-components |
| Trying to call a function from "use server" but the… | exception | error | rsc, server-functions, callserver, flight, configuration |
| Expected root pseudo key to be known. | exception | error | react-devtools, fiber-root, internal-invariant, bookkeeping |
440 A function wrapped in useEffectEvent can't be called during rendering. | exception | error | react, hooks, use-effect-event, experimental, render-phase |
535 renderToHTML should not have emitted Server References. This is a bug in React. | exception | error | server-components, server-references, react-markup, form-actions |
| Attempted to call () from the server but is on the client… | exception | error | react-server-components, client-references, use-client, server-components |
458 Currently React only supports one RSC renderer at a time. | exception | critical | server-components, renderer, duplicate-packages, module-resolution |
| Expected counter to be known. | exception | error | react-devtools, fiber-root, internal-invariant, bookkeeping, display-name |
571 Maximum array nesting exceeded. Large nested arrays can be dangerous. Try… | exception | error | react, server-actions, serialization, dos-protection, arrays |
| startGestureTransition is not yet supported in react-art. | exception | error | react-art, gesture, view-transitions, not-implemented, host-config |
| Expected resolve to have been called before transformSource | exception | error | node-loader, esm, react-server-components, loader-chaining |
| Could not find element with id | console | warning | react-devtools, legacy-renderer, element-selection, dev-only |
| Server actions must be functions | exception | error | react-server-components, server-actions, parcel, exports |
| (...) is deprecated in plain JavaScript React classes. | console | warning | deprecated-api, ismounted, replacestate, class-components, mixin-era, dev-only |
| React Element cannot be passed to Server Functions from the… | exception | error | server-functions, serialization, temporary-references, rsc, react-elements |
364 Invalid host root specified. Should be either a React container or a node with… | exception | error | test-selectors, devtools, find-all-nodes, data-testname |
450 The current renderer does not support Singletons. This error is likely caused… | exception | error | singletons, custom-renderer, renderer-capability, document-elements |
299 Target container is not a DOM element. | exception | error | react-dom, legacy-api, dom, null-container |
| Expected the transformed source to be a string. | exception | error | node-loader, esm, re-exports, react-server-components |
| Invalid hook call. Hooks can only be called inside of the… | exception | error | hooks, invalid-hook-call, ssr, duplicate-react, version-mismatch |
| react-dom/client is not supported in React Server… | exception | error | react-server-components, react-dom-client, bundler, use-client, createroot |
| While flushing work, something yielded a value. Use an… | exception | error | scheduler, testing, mock, assertions |
| Expected overrideError() to not get called for earlier… | exception | error | react-devtools, error-boundary, version-mismatch, legacy-react |
| The React Server Writer cannot be used outside a… | exception | error | react-server-components, node, export-conditions, environment |
525 A React Element from an older version of React was rendered. This is not… | exception | critical | version-mismatch, jsx-runtime, duplicate-packages, bundling, server-components |
| DevTools tooltip root node not found: can't display the… | exception | error | devtools, context-menu, portal, dom, embedding |
| react-cache: read and preload may only be called from… | validation | error | devtools, cache, hooks, rules-of-hooks, render-phase |
162 This should have a text node initialized. This error is likely caused by a bug… | exception | error | host-text, custom-renderer, commit-phase, hydration |
62 The `style` prop expects a mapping from style properties to values, not a… | exception | error | react-dom, style-prop, jsx, props-validation |
| Cannot requestFormReset() inside a startGestureTransition… | exception | error | react, forms, gesture-transition, experimental, request-form-reset |
| No suspense found with id | console | warning | react-devtools, store, suspense, element-lookup, dev-only |
580 Server Function has too many bound arguments. Received | exception | error | server-actions, bind, argument-limit, rsc |
| Cannot update optimistic state while rendering. | exception | error | react, hooks, use-optimistic, render-phase-update |
417 React currently only supports piping to one writable stream. | exception | error | flight, streaming, ssr, server-components |
435 Unexpected Suspense handler tag | exception | error | suspense, retry, wakeable, invariant |
558 Client rendering an Activity suspended it again. This is a bug in React. | exception | error | activity, hydration, suspense, react-internal, invariant |
| Did not expect a host hoistable to be the root | exception | error | react-devtools, invariant, hoistable, host-component, react-19, internal |
| react-dom/server is not supported in React Server… | exception | error | react-server-components, react-dom, ssr, rendertostring, import-time-error |
318 A dehydrated suspense component was completed without a hydrated node. This is… | exception | error | hydration, activity, ssr, invariant |
| Using Maps as children is not supported. Use an array of… | console | warning | children, maps, iterables, jsx, keys, dev-only |
| Cannot through a Bridge that has been shut down. | exception | error | devtools, bridge, lifecycle, shutdown, use-after-dispose |
| .getChildContext(): key " " is not defined in… | exception | error | react, legacy-context, class-components, child-context-types, proptypes |
581 BigInt is too large. Received | exception | error | bigint, server-actions, serialization, input-limits |
| No element found with id | console | warning | react-devtools, store, element-lookup, dev-only |
| Invalid tag | exception | error | ssr, custom-elements, validation, injection, security |
| Expected a previous Fiber when updating an existing root. | exception | info | react-devtools, invariant, root-fiber, internal, defensive-check |
| Expected overrideSuspenseMilestone() to not get called for… | exception | error | react-devtools, suspense, version-mismatch, legacy-react, bulk-operations |
161 Invalid host parent fiber. This error is likely caused by a bug in React… | exception | error | version-mismatch, custom-renderer, placement, host-config |
275 The current renderer does not support mutation. This error is likely caused by… | exception | error | mutation, custom-renderer, renderer-capability, commit-phase |
570 Invalid reference. | exception | error | react, server-actions, deserialization, flight-protocol |
| Use react-server-dom-esm/client instead. | exception | error | react-server-components, entrypoint, api-misuse, npm |
| Context can only be read while React is rendering. In… | exception | error | react, context, read-context, render-phase, internals |
321 Invalid hook call. Hooks can only be called inside of the body of a function… | exception | error | hooks, rules-of-hooks, version-mismatch, duplicate-packages |
582 Referenced Blob is not a Blob. | exception | error | blob, file-upload, form-data, server-actions, serialization |
| Not implemented. | exception | error | react-art, view-transitions, not-implemented, host-config |
| The children should not have changed if we pass in the same… | exception | error | react-devtools, invariant, reconciliation, keyed-children, filters, internal |
| Cannot read Symbol exports. Only named exports are… | exception | error | rsc, react-server-components, client-boundary, symbol, namespace-import, proxy, unbundled |
| copyWithRename() expects paths to be the same except for… | console | warning | devtools, path-validation, internal-api, state-editing, immutability |
| Hooks not supported by this renderer | exception | error | devtools, hooks, legacy-renderer, react-15, inspector |
361 The current renderer does not support test selectors. This error is likely… | exception | error | test-selectors, testing, custom-renderer, renderer-capability |
515 Cannot assign to a temporary client reference from a server module. | exception | error | temporary-references, proxy, mutation, server-components |
| Encountered a dehydrated Suspense boundary that was… | exception | error | react-devtools, invariant, suspense, hydration, state-corruption, internal |
| React Refresh runtime should not be included in the… | exception | critical | react-refresh, fast-refresh, production-bundle, bundler, devtools |
379 Refs cannot be used in Server Components, nor passed to Client Components. | exception | error | refs, server-components, serialization, props |
98 EventPluginRegistry: Failed to publish event | exception | error | react-native, legacy-events, event-plugins, event-registration |
| Could not find host instance from fiber | exception | error | react-native, devtools, inspector, fiber, host-instance |
485 Cannot update action state while rendering. | exception | error | react, hooks, use-action-state, render-phase-update, forms |
502 Cannot read a Client Context from a Server Component. | exception | error | react, server-components, rsc, usecontext, use-client, context |
| Cannot taint a because the value is too general and not… | exception | error | security, taint-apis, taintuniquevalue, invalid-type |
467 Update hook called on initial render. This is likely a bug in React. Please… | exception | error | hooks, react-internal, invariant, suspense |
| Failed to parse source file | exception | error | devtools, babel, parser, source-map, hooks, flow, typescript |
| Values cannot be passed to next() of AsyncIterables passed… | exception | error | rsc, async-iterable, streaming, flight, iterator-protocol |
| A dehydrated Suspense node should not have a content Fiber. | exception | error | react-devtools, invariant, suspense, hydration, unmount, internal |
| Invalid internal instance | exception | error | react-devtools, legacy-react, react-15, internal-instance, monkey-patching |
| To taint a value, a lifetime must be defined by passing an… | exception | error | security, taint-apis, taintuniquevalue, lifetime, server-components |
306 Element type is invalid. Received a promise that resolves to | exception | error | react-lazy, code-splitting, dynamic-import, element-type |
506 Functions are not valid as a child of Client Components. This may happen if you… | exception | error | children, functions, dev-only, server-components |
| React Hook useEffect requires an effect callback. Did you… | console | warning | hooks, use-effect, missing-argument, dev-only, common-mistake |
| There should always be an Offscreen Fiber child in a… | exception | error | react-devtools, invariant, suspense, hydration, offscreen, internal |
248 Not implemented. | exception | error | flight, react-markup, streaming, not-implemented |
160 Expected to find a host parent. This error is likely caused by a bug in React… | exception | error | commit-phase, placement, host-tree, invariant |
476 Expected the form instance to be a HostComponent. This is a bug in React. | exception | error | react, forms, form-actions, invariant, internal-bug |
| react-cache: Unsupported React version | exception | critical | devtools, react-version, compatibility, module-init |
331 Cannot flush passive effects while already rendering. | exception | error | internal-invariant, passive-effects, reentrancy |
91 `dangerouslySetInnerHTML` does not make sense on | exception | error | react-dom, textarea, dangerouslysetinnerhtml, forms |
185 Maximum update depth exceeded. This can happen when a component repeatedly… | exception | error | infinite-loop, component-did-update, set-state, class-components |
| Wall.listen() must return an unlisten function. | validation | error | devtools, bridge, wall, transport, contract |
516 Attempted to call a temporary Client Reference from the server but it is on the… | exception | error | temporary-references, server-actions, callbacks, server-components |
583 The current renderer does not support view transitions. This error is likely… | exception | error | view-transitions, custom-renderer, renderer-capability, react-native |