Skip to main content
Version: 2.1.4

IUseQueryParameters

3p-core v2.1.4


3p-core / IUseQueryParameters

Interface: IUseQueryParameters<T>

Represents the return value of the useQueryParameters hook.

Type Parameters

T

T

The type of the parameter value to be stored in the query string.

Properties

PropertyTypeDescription
setParameter(value) => voidUpdates the query parameter in the URL and sets the internal state.
valueTThe current value of the parameter parsed from the URL.