web
web copied to clipboard
React hooks done right, for browser and SSR.
Bumps [@react-hookz/deep-equal](https://github.com/react-hookz/deep-equal) from 1.0.4 to 2.0.2. Release notes Sourced from @react-hookz/deep-equal's releases. v2.0.2 2.0.2 (2024-02-04) Bug Fixes readme: add contributors list (#236) (36bacce) v2.0.1 2.0.1 (2024-02-04) Bug Fixes readme: switch...
### Prior Issues none ### What is the current behavior? Using multiple state updates from `useLocalStorageValue`, be it in different components or sequentially in the same component, are not queued....
[This demo](https://react-hookz.github.io/web/?path=/docs/lifecycle-usethrottledeffect--example) for useThrottledEffect exhibits some strange behavior. To reproduce, try slowly entering the string `a1aaaaaa` into the text box, and you'll see the status toggle repeatedly between "no digits"...
## what new hook does tracks whether HTML element is scrolling ## Checklist - [x] Have you read the [contribution guidelines](../../CONTRIBUTING.md)? - [x] If you are porting a hook from...
### What is the current behavior? Not able to resolve the types  ### Steps to Reproduce Install the latest version and check the types on import path ### What...
## What new hook does? Provides stable value that other hooks can use to determine that applocation is in SSR mode. Sad enough there are no reliable markers that application...
## Hook description - useBattery Hook - uses Navigator.getBattery() to get device battery status. ### Valid use-case for the hook - A full-screen immersive video player which can show a...
## Hook description Hook for playing text using the SpeechSynthesis API. ### Valid use-case for the hook - Playing text when a component mounts. - Playing text when a component...
As `@testing-library/react-hooks` library is abandoned and forces users to switch to `@testing-library/react` simple switch of react versions implies adapting most of tests. The library change is not a drop-in threfore...
## What is the problem? While reading through the migrate from react-use docs I incorrectly determined that the new `useLocalStorageValue` hook was _not_ sync'd across tabs, because of this note...