react-hook
Here are 405 public repositories matching this topic...
-
Updated
Apr 28, 2022 - TypeScript
Describe the bug
For the versions 7.0.0 and 7.0.1, setting { leading: true } does not trigger an immediate change in useDebounce. It works in 6.0.1 and below.
To Reproduce
- The sandbox example linked to in the readme file (https://codesandbox.io/s/rr40wnropq) uses
use-debounce@6.0.0-beta. Add the option{ leading: true }and observe that the debounced value is updated immedat
-
Updated
Jul 8, 2022 - TypeScript
Describe the bug
The useSize() function in the demo for @react-hook/resize-observer uses the anti-pattern of depending on the ref object provided by React.useRef() in the dependency list of React.useLayoutEffect(). This has the effect of not setting an initial value for the size on the first rendering. This matters because elements that don't get re-rendered never get a sized.
**
-
Updated
Apr 25, 2019 - JavaScript
Our goal with @react-hookz/web is to give the react community a general-purpose React hooks library built with care.
We'd like to port the remaining hooks from react-use (the project @react-hookz/web grew out of) while keeping in mind our tenants:
- General-purposeness (hooks should fulfill a wide array of use cases)
- Composability (a preferenc
-
Updated
Jun 23, 2022 - TypeScript
ResizeObserver loop limit exceeded errors thrown during usage.
From my brief search around the internet it seems as though this is harmless but it does add a lot of noise in common usage and that that noise could be avoided
-
Updated
Jan 14, 2022 - TypeScript
-
Updated
Jan 18, 2022 - TypeScript
-
Updated
Feb 11, 2021 - JavaScript
-
Updated
Jan 8, 2022 - TypeScript
-
Updated
Jun 1, 2022 - JavaScript
-
Updated
Oct 26, 2021 - JavaScript
-
Updated
Jun 12, 2020 - JavaScript
-
Updated
Apr 14, 2022 - JavaScript
-
Updated
Jul 4, 2022 - TypeScript
-
Updated
Apr 28, 2022 - TypeScript
-
Updated
Apr 19, 2022 - JavaScript
-
Updated
May 17, 2022 - TypeScript
-
Updated
May 30, 2022 - JavaScript
-
Updated
May 2, 2022 - TypeScript
-
Updated
Jun 24, 2022 - TypeScript
-
Updated
Nov 10, 2021 - TypeScript
-
Updated
May 16, 2022 - TypeScript
-
Updated
Mar 26, 2022 - TypeScript
-
Updated
May 6, 2022
-
Updated
Oct 20, 2021 - JavaScript
Improve this page
Add a description, image, and links to the react-hook topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the react-hook topic, visit your repo's landing page and select "manage topics."
Is your feature request related to a problem? Please describe.
Some users require saving objects like ES6 maps which can't be JSON.stringified without a replacer function.
Describe the solution you'd like
We need replacer/ reviver functions optionally to be sent as arguments.