setItem
Function: setItem()
setItem(
prefix
,key
,value
):void
Defined in: src/utils/useLocalstorage.ts:41
Sets the value for the given key in local storage.
Parameters
prefix
string
Prefix to be added to the key, common for all keys.
key
string
The unique name identifying the value.
value
any
The value for the key.
Returns
void