rooks icon indicating copy to clipboard operation
rooks copied to clipboard

Essential React custom hooks ⚓ to super charge your components!

Results 46 rooks issues
Sort by recently updated
recently updated
newest added

fixes #780 This removes the item from session storage, then internally calls the existing setState, setting it to `null`, casing the component to re-render, matching the behavior contract of `useState`...

I created a simple new hook that give the ability of click and hold.

## The Problem I've been researching React's core `useEffect()` hook and discussing with other developers on my team trying to understand it better. From what I can tell, some of...

disccussion 🗣️

## Warning - breaking changes Added type parameters to the function. Used `useState` with the controls object instead of individual `useCallback`s. Removed `has` control because it is readonly an [`Map.prototype.has()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/has)...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [node](https://togithub.com/nodejs/node) | engines | major | [`>=v10.24.1` -> `>=v16.17.0`](https://renovatebot.com/diffs/npm/node/v10.24.1/v16.17.0) | ---...

dependency-update
major

- add the use battery hook

Currently, no example is found for [useAsyncEffect()](https://github.com/imbhargav5/rooks/blob/main/data/docs/useAsyncEffect.md?plain=1#L16) Check out [the docs](https://react-hooks.org/docs/useAsyncEffect)

docs: examples