You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use error boundary to capture useEffect errors (#539) (b81fd04), closes #308
BREAKING CHANGES
interval will now default to 50ms in async utils
timeout will now default to 1000ms in async utils
suppressErrors has been removed from async utils
Adjust types so that react renderer exports don't required extra generic parameter
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
Auto-detection won't work with bundlers (e.g. Webpack). Please use as specific renderer import instead
result.current and result.error will now return undefined instead of null when the hook call suspends and they are accessed prior to being set for the first time
Note: accessing these values in a suspending scenario has been broken since version 3.6.0