Persist only changed replica entities so steady-state writes scale with the update rather than the complete cached world. Restore remains an all-or-nothing validated boundary, with whole-host byte-budget eviction.
5 lines
210 B
TypeScript
5 lines
210 B
TypeScript
import AsyncStorage from "@react-native-async-storage/async-storage";
|
|
import type { ProjectIconCacheStorage } from "./icon-cache";
|
|
|
|
export const projectIconCacheStorage: ProjectIconCacheStorage = AsyncStorage;
|