class-style defineStore — state wrapped in strongly-typed reactive, derived values as getters, actions as plain methods; the structure aligns with the official state / getters / actions
🧰
Full $-API
$patch / $reset / $subscribe / $onAction / $dispose / $id / $state / $save all built in, with three hooks to override on demand
💾
Built-in persistence
register pinia.usePersistPlugin(options) once and every store is covered — automatic restore on store creation, automatic persist to storage on $patch / $reset / $save, swappable storage backend
🧩
Mount-free singletons
a module-level registry guarantees app-level singletons shared across pages — works with no app.use at all
🔗
Cross-store dependencies
compose stores by calling the other useStore inside a method; the registry guarantees singletons
⚡
Native performance
UTS source distribution — compiled to JS on Web and Kotlin on Android by the uni-app x toolchain, no JS bridge
🔒
Strictly typed
strict UTS types with strongly-typed reactive wrapping; Kotlin generics-erasure and nullability boundaries are contained inside the library — zero awareness on the business side
🛡️
Verified on both platforms
full suite passes on Web (JS toolchain); Android cloud build (Kotlin toolchain, Vapor mode) passes; platform difference items adjudicated case by case