testing-library/react-hooks-testing-library

Update @types/react package to version 18

asifurrahaman754 opened this issue · 2 comments

  • 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.0
  • npm (or yarn) version: 8.19.3

Relevant code or config:

What you did:

Trying to install react-hook-form

What happened:

Screenshot 2024-04-15 at 11 43 49 AM

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