testing-library/react-hooks-testing-library

Lib incompatible with react@18.2.0 version

saileerane opened this issue · 3 comments

What is this issue about:

The latest version of @testing-library/react-hooks v8.0.1 is not compatible with react@18.2.0
It will be great if this support is provided

renderHook has been moved to @testing-library/react, and importing from @testing-library/react-hooks is deprecated. You should update your imports accordingly.

yet it is not only imports, @testing-library/react version is incompatible with this one and requires rewriting most of test, not to say that it completely lacks server version

We're aware of this, I think there's actually a note on the readme.