feat: Add `renderHook` by eps1lon · Pull Request #991 · testing-library/react-testing-library · GitHub
DRANK

What: Imlement minimal renderHook from @testing-library/react-hooks Why: @testing-library/react-hooks is not compatible with React 18 and it's questionable if certain APIs will make sense in React ...

github.com
Related Topics: React GitHub Git
3 comments
  • react-testing-library v13.1でrenderHookが提供されるようになりました。
    これにより、react-hooks-testing-libraryの大部分の機能がカバーされるので、react-hooks-testing-libraryを非推奨としてアーカイブする予定とのことです。

    github.com/testing-librar…

  • testing-library/react-hooksのReact 18対応、testing-library/react-testing-libraryにrenderHookが実装されるの待ちぽい雰囲気あるな。
    renderHookが実装されたら、react-hooks不要ぽい?

    feat: Add renderHook by eps1lon · Pull Request #991
    github.com/testing-librar…