Skip to content
JS
Errors

React errors

Rendering, hooks and hydration errors.

598 entries0 written pages
Showing 1 to 50 of 598Source: React error codes
CodeError
React error #0Encountered an invalid child; DOM elements are not valid children of React components.
React error #1update(): expected target of %s to be an array; got %s.
React error #2update(): expected spec of %s to be an array; got %s. Did you forget to wrap your parameter in an array?
React error #3update(): You provided a key path to update() that did not contain one of %s. Did you forget to include {%s: ...}?
React error #4Cannot have more than one key in an object with %s
React error #5update(): %s expects a spec of type 'object'; got %s
React error #6update(): %s expects a target of type 'object'; got %s
React error #7Expected %s target to be an array; got %s
React error #8update(): expected spec of %s to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?
React error #9update(): expected spec of %s to be a function; got %s.
React error #10instance must be a composite component
React error #11TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.
React error #12ReactShallowRenderer render(): Invalid component element.%s
React error #13ReactShallowRenderer render(): Shallow rendering works only with custom components, not primitives (%s). Instead of calling `.render(el)`...
React error #14TestUtils.Simulate expects a component instance and not a ReactElement.TestUtils.Simulate will not work if you are using shallow rendering.
React error #15instance must be a composite component
React error #16Do not override existing functions.
React error #17All native instances should have a tag.
React error #18Expected a component class, got %s.%s
React error #19Expect a native root tag, instead got %s
React error #20RawText "%s" must be wrapped in an explicit <Text> component.
React error #21Argument is not a component (type: %s, keys: %s)
React error #22Unable to find node handle for unmounted component.
React error #23onlyChild must be passed a children with exactly one child.
React error #24Mismatched list of contexts in callback queue
React error #25Trying to release an instance into a pool of a different type.
React error #26Unexpected node: %s
React error #27Cannot initialize a transaction when there is already an outstanding transaction.
React error #28Transaction.closeAll(): Cannot close transaction when none are open.
React error #29Accumulated items must be not be null or undefined.
React error #30Accumulated items must not be null or undefined.
React error #31Objects are not valid as a React child (found: %s). If you meant to render a collection of children, use an array instead.
React error #32Unable to find element with ID %s.
React error #33getNodeFromInstance: Invalid argument.
React error #34React DOM tree root should always have a node reference.
React error #35isAncestor: Invalid argument.
React error #36getParentInstance: Invalid argument.
React error #37_Target container is not a DOM element.
React error #38parentComponent must be a valid React Component
React error #39ReactDOM.render(): Invalid component element.%s
React error #40Target container is not a DOM element.
React error #41Target container is not valid.
React error #42You're trying to render a component to the document using server rendering but the checksum was invalid. This usually means you rendered a...
React error #43You're trying to render a component to the document but you didn't use server rendering. We can't do this without using server rendering...
React error #44findDOMNode was called on an unmounted component.
React error #45Element appears to be neither ReactComponent nor DOMNode (keys: %s)
React error #46renderToString(): You must pass a valid ReactElement.
React error #47renderToStaticMarkup(): You must pass a valid ReactElement.
React error #48You're trying to inject DOM property '%s' which has already been injected. You may be accidentally injecting the same DOM property config...
React error #49DOMProperty: Properties that have side effects must use property: %s

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