web
web copied to clipboard
React hooks done right, for browser and SSR.
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) and [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom). These dependencies needed to be updated together. Updates `react-dom` from 17.0.2 to 19.1.0 Release notes Sourced from react-dom's releases. 19.1.0 (March 28, 2025) Owner Stack An...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). These dependencies needed to be updated together. Updates `react` from 17.0.2 to 19.1.0 Release notes Sourced from react's releases. 19.1.0 (March 28, 2025) Owner Stack An...
### What is the current behavior, and the steps to reproduce the issue? `useSessionStorageValue` with a `defaultValue` and no `initializeWithValue` returns `typeof defaultValue | undefined`. ### What is the expected...
## New Features It would be nice if `useMap()`, `useSet()`, etc. supported an initializer function for those initial values that can be expensive to compute, e.g. ```js const map =...
## Hook description - Describe the new hook. What does it do? ### Valid use-case for the hook - How would the hook be used in a real application? ##...
### Prior Issues No ### What is the current behavior? `useIntersectionObserver` state is not reset when target element is changed, like if target is changed to null, the intersection state...
Hi! 👋 Firstly, thanks for your work on this project! 🙂 Today I used [patch-package](https://github.com/ds300/patch-package) to patch `@react-hookz/[email protected]` for the project I'm working on. on safari 13, mql is undefined,...
fix #1580 and add an option to allow the match to be disabled conditionally add tests 🟢
### What is the current behavior? `usePermission` works on Chrome, but not Safari. Seems like root issue is in Safari not firing change event: https://forums.developer.apple.com/forums/thread/757353 I'm documenting this here in...
Hello :wave: Thank you for the awesome library! ## New Features * better `Result` inference in `useAsync` hook ### What is the new or updated feature that you are suggesting?...