react-hooks-testing-library
react-hooks-testing-library copied to clipboard
Update @types/react package to version 18
react-hooks-testing-library"^8.0.1":react"^18.0.0":react-dom"^18.0.0"react-test-rendererversion (if applicable):nodeversion: 18.13.0npm(oryarn) version: 8.19.3
Relevant 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
https://github.com/testing-library/react-hooks-testing-library?tab=readme-ov-file#a-note-about-react-18-support