• A hook for tracking and updating a @watchable/store!PartitionableState

    Type Parameters

    • State extends object

    Parameters

    • store: Store<PartitionableState<keyof State>>

      The @watchable/store!Store to partition.

    • partitionKey: string | number | symbol

    Returns Store<State>

    a tuple with the current value of the @watchable/store!PartitionableState and a setter function.

Generated using TypeDoc