react-hooks-testing-library icon indicating copy to clipboard operation
react-hooks-testing-library copied to clipboard

Update @types/react package to version 18

Open asifurrahaman754 opened this issue 10 months ago • 1 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

asifurrahaman754 avatar Apr 15 '24 05:04 asifurrahaman754

https://github.com/testing-library/react-hooks-testing-library?tab=readme-ov-file#a-note-about-react-18-support

Tockra avatar Apr 19 '24 10:04 Tockra