@hooks/queue
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

🎒 @hooks/queue

React hook to manage a queue

NPM version Travis License

Install

npm i @hooks/queue

Usage

useQueue

useQueue(initialState: Item[] = [])

Parameters

initialState: Item[] = []

Populate the queue with an array of initial values.

Package Sidebar

Install

npm i @hooks/queue

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

4.04 kB

Total Files

9

Last publish

Collaborators

  • simmo