web
web copied to clipboard
React hooks done right, for browser and SSR.
### Environment Details - _`@react-hookz/web` version:_25.2.0 - _`react` version:_19.
## Summary This PR fixes an asymmetric compatibility issue in `useMediaQuery` where the `addEventListener` compatibility check was removed during subscription but still present during unsubscription, causing errors in older Safari...
I think that I found a small typo in the test for useIntersectionObserver hook. Two identical lines like below don't make sense to me. ``` expect(hook1.result.current).toBe(entry1); expect(hook1.result.current).toBe(entry1); ``` I think...