Create or forward an application-state identifier.
Call with no argument to create a new identifier object and attach a value
type at the type level:
const profileId = getApplicationStateIdentifier<UserProfile>()
Call with an existing identifier object to preserve that exact object reference while keeping its type information intact.
Create or forward an application-state identifier.
Call with no argument to create a new identifier object and attach a value
type at the type level:
const profileId = getApplicationStateIdentifier<UserProfile>()
Call with an existing identifier object to preserve that exact object reference while keeping its type information intact.
Param: subStateIdMap
Optional sub-state identifier map.
Returns
The identifier map or an empty identifier object.