testing-library/react-testing-library

the "@testing-library/react" not integrate with react @19.0.0

Abdokhalil11 opened this issue · 1 comments

  • @testing-library/react version: @16.1.0
  • Testing Framework and version: jest version:@29.7.0
  • DOM Environment:@10.4.0

Relevant code or config:

var your => (code) => here;

What you did: when install testing-library/react as dev dependencies with react 19

What happened: that throw an error

issue

Reproduction:

Problem description: I can't install testing-library/react as dev dependencies without --force

Suggested solution: update the version of testing-library/react to integrate with react 19

You're using 19.0.0-rc-*. If you want to use that version, you need to use --force. Otherwise change the installed version of React to 19.0.0