social components
inlay.at
atproto
components
sdui
1// Client-side handle cache — module state survives across navigations
2const cache = new Map<string, string>();
3
4export function cacheHandle(did: string, handle: string) {
5 cache.set(did, handle);
6}
7
8export function getCachedHandle(did: string): string | undefined {
9 return cache.get(did);
10}