npm @testing-library/react-hooks 5.0.0-beta.1
v5.0.0-beta.1

latest releases: 8.0.1, 8.0.0, 8.0.0-alpha.1...
3 years ago

5.0.0-beta.1 (2021-01-07)

Features

  • react-dom and SSR compatible rendering (a25993f)

BREAKING CHANGES

  • Importing from renderHook and act from @testing-library/react-hooks will now auto-detect which renderer to used based on the project's dependencies
  • peerDependencies are now optional to support different dependencies being required
    • This means there will be no warning if the dependency is not installed at all, but it will still warn if an incompatible version is installed

Don't miss a new react-hooks release

NewReleases is sending notifications on new releases.