# `useList`
React state hook that tracks a value of an array.
## Usage
```jsx
import {useList} from 'react-use';
const Demo = () => {
const [list, { clear, filter, push, remove, set, sort, updateAt, reset }] = useList();
return (
{JSON.stringify(list, null, 2)}
);
};
```
## Related hooks
- [useUpsert](./useUpsert.md)