Functions
get
- get<State>(statePath: string, idKey: string): State
Type parameters
State: null | { id: string }
Parameters
statePath: string
idKey: string
Returns State
set
- set<State>(statePath: string, idKey: string, state: State): void
Type parameters
State: null | { id: string }
Parameters
statePath: string
idKey: string
state: State
Returns void
Gets the saved local state of some resource from
localStorage
.