react-use icon indicating copy to clipboard operation
react-use copied to clipboard

React Hooks β€” πŸ‘

Results 284 react-use issues
Sort by recently updated
recently updated
newest added

use [docusaurus](https://docusaurus.io/) and [codehike](https://codehike.org)

I installed the newest version of `react-use` on React Native `0.70.4` (MacOS) but it throws this error: ``` user@MacBook-Pro myApp % npm install react-use npm ERR! code ERESOLVE npm ERR!...

# Description Fix difference client / server on useSearchParam hook. On SSR useSearchParam return null (it's normal). But on client side, useSearchParam, return directly value. It's not good. This causes...

**Is your feature request related to a problem? Please describe.** [This RFC](https://github.com/reactjs/rfcs/blob/useevent/text/0000-useevent.md) describes a new React hook soon to be added in the core. No doubt it will happen, considering...

1. Added unit test cases 2. Replaced `noop` function with the optional chain 3. Improved TS types # Description ## Type of change - [x] Bug fix _(non-breaking change which...

# Description ## Type of change - [ ] Bug fix _(non-breaking change which fixes an issue)_ - [ ] New feature _(non-breaking change which adds functionality)_ - [ ]...

**What is the current behavior?** I'm working on a project that involves making a browser-ready version of a package. So far, nothing fancy. There's a package A, with `react-use` as...

**What is the current behavior?** Here is a code sandbox that recreates this: https://codesandbox.io/s/react-use-usedebounce-bug-kz1mu Basically I've got a situation were the isDebounceReady function is not returning consistently a value that...

**Is your feature request related to a problem? Please describe.** I want to write a `useEffect` with a cleanup but I want to use `await` too **Describe the solution you'd...

### What is the current behavior? The `useMethods` hook wraps the behaviour of `useReducer` to return a nicely typed `methods` object. https://github.com/streamich/react-use/blob/0fabbcd641e5fc6d16091e7c4c803efe80d7ff56/docs/useMethods.md#L44 However, the `methods` object returned from `useMethods` is...