Skip to content

Latest commit

 

History

History

Folders and files

README.md

🎒 @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.