export function useState<T = any>(namespace: string): StateMap<T> {
    return mapFromStore<StateMap<T>>('state', namespace)
}