0.1.0 • Published 4 years ago
@hooks/stack v0.1.0
🎒 @hooks/stack
React hook to manage a stack
Install
npm i @hooks/stack
Usage
useStack
useStack(initialState: Item[] = [])
Parameters
initialState: Item[] = []
Populate the stack with an array of initial values.
0.1.0
4 years ago