Function useLocalStorage

  • Type Parameters

    • T

    Parameters

    • storeKey: string
    • key: string
    • initialValue: T
    • ssrHydration: boolean = false

    Returns readonly [T, ((value: T | ((val: T) => T)) => void)]

Generated using TypeDoc