We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react-hooks-testing-library
react
react-dom
node
npm
yarn
I have this error in React v18.1.0, but in React v17.0.2 work good.
This is my code that throws the error.
import { renderHook } from "@testing-library/react-hooks" import useCounter from "../../hooks/useCounter" describe("xxxxxxxxxxxxxxx", () => { test("xxxxxxxxxxxxxxxxxx", () =>{ const r = renderHook(() => useCounter()) console.log(r) }) })
The text was updated successfully, but these errors were encountered:
This library does not and will not support react 18. See #831 (comment) for more information.
Sorry, something went wrong.
No branches or pull requests
react-hooks-testing-library
version:^8.0.0"react
version: ^18.1.0react-dom
version (if applicable): ^18.1.0"node
version: 14.17.4npm
(oryarn
) version: 6.14.14Problem description:
I have this error in React v18.1.0, but in React v17.0.2 work good.
Code
This is my code that throws the error.
The text was updated successfully, but these errors were encountered: