Vaultrice React SDK - v0.9.5
    Preparing search index...

    Function useMultiNonLocalStates

    • React hook for managing multiple values in NonLocalStorage.

      Allows you to read and update multiple keys atomically, with error handling.

      Parameters

      • id: string

        The unique identifier for the NonLocalStorage instance.

      • keys: string[]

        Array of keys to manage.

      • options: UseNonLocalStorageOptions

        Options for NonLocalStorage, including credentials and instance options.

      Returns any[]

      A tuple containing:

      • values: The current values for the specified keys.
      • setItems: Function to set multiple items at once.
      • error: Any error encountered during operations.