Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
burtek committed Nov 13, 2021
1 parent cea1c10 commit 5b1cfca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ npm i -D @dtrw/react-utils

### `useArray`

Inspired by [@lbfalvy's useArray hook](https://github.com/lbfalvy/react-utils#usearray)

This hook aims to achieve two goals:

- allows using arrays in `useMemo`/`useCallback`/`useEffect`-like hooks and make sure they won't rerun if arrays don't actually change
Expand Down

0 comments on commit 5b1cfca

Please sign in to comment.