testing-library / react-testing-library

🐐 Simple and complete React DOM testing utilities that encourage good testing practices.
https://testing-library.com/react
MIT License
18.97k stars 1.1k forks source link

feat: Add support for React 19 Canary #1294

Closed eps1lon closed 6 months ago

eps1lon commented 6 months ago

Closes https://github.com/testing-library/react-testing-library/pull/1270

We can release React 19 support as a SemVer MINOR. Even though legacyRoot is no longer supported, it's not really a RTL breaking change but a React breaking change that's handled in their SemVer MAJOR release. It would only be a RTL breaking change if React would be a direct dependency not a peer dependency as it is now.

codesandbox-ci[bot] commented 6 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit b90d8cc3144827052489b6b7db494c2fe09899a6:

Sandbox Source
react-testing-library-examples Configuration