use-object
A custom React hook that lets you manipulate an array data structure without ever needing extra utilities.
Start with:
npm install --save use-object
Then, import and use the hook:
// …in your functional component: const map get set update getIn remove replace = ;
Docs
The complete documentation as well as a live demo is available here.
License
MIT © filipdanic
Related
If you like use-object
you might find use-array useful as well.