useList ​
Hook that defines the logic when unmounting a component
typescript
import { useList } from '@siberiacancode/reactuse';
Usage ​
typescript
const { value, set, push, removeAt, insertAt, updateAt, clear } = useList();