I am getting a lot of conflict error in my project while working with @testing-library/react-hooks with other packages, By investigating the error i found you have a package @types/react that is not updated, so please update it to version 18
Suggested solution:
Updating the @types/react to version 18 might solve this
react-hooks-testing-library
"^8.0.1":react
"^18.0.0":react-dom
"^18.0.0"react-test-renderer
version (if applicable):node
version: 18.13.0npm
(oryarn
) version: 8.19.3Relevant code or config:
What you did:
Trying to install react-hook-form
What happened:
Reproduction:
Problem description:
I am getting a lot of conflict error in my project while working with @testing-library/react-hooks with other packages, By investigating the error i found you have a package @types/react that is not updated, so please update it to version 18
Suggested solution:
Updating the @types/react to version 18 might solve this