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

# Description hook name that imported had typo issue, fixed from `usePinchZoon` to `usePinchZoom` not important but it's a issue anyways ## Type of change - [x] Bug fix _(non-breaking...

# Description Right now the `useLocalStorage` hook does not properly add `state` as a `useCallback` dependency, leading to bugs where you pass a `function` as the argument to `setState` ##...

Add ability to trigger a callback when the size is updated. ``` const { ... } = useWindowSize(() => { ...callback on resize... }); ```

enhancement
help wanted
good first issue

**Is your feature request related to a problem? Please describe.** As the title suggests, it would be nice to be able to clear the clipboard internal state. Currently I have...

Making sure useEffectOnce actually runs only once. Particularly preventing React 18 from rendering twice in development mode.

**What is the current behavior?** `useDropArea` on an element with children elements doesn't seem to work as expected. Essentially, if you have a child element inside a drop area the...

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

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

**What is the current behavior?** When testing on BrowserStack with a physical iPhone 11 in Safari, `navigator.permissions.query` is throwing an exception within `usePermission`. ![image](https://user-images.githubusercontent.com/563819/89108557-2343f980-d3ff-11ea-9883-4ba7acf80acd.png) **Steps to reproduce it and if...

**Is your feature request related to a problem? Please describe.** I want to be able to see (and hopefully set) the entire state of a component. **Describe the solution you'd...