Nutritious Pumpkin Mash

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

    0.1.0 • Public • Published

    🎒 @hooks/stack

    React hook to manage a stack

    NPM version Travis License

    Install

    npm i @hooks/stack

    Usage

    useStack

    useStack(initialState: Item[] = [])

    Parameters

    initialState: Item[] = []

    Populate the stack with an array of initial values.

    Install

    npm i @hooks/stack

    DownloadsWeekly Downloads

    3

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    4.05 kB

    Total Files

    9

    Last publish

    Collaborators

    • simmo