Is minic a theastaíonn ó aipeanna React Native sonraí a stóráil go logánta — roghanna úsáideora, sonraí i dtaisce, teachtaireachtaí deimhnithe, ábhar as líne. Is iad na roghanna ann AsyncStorage (eochair-luach), MMKV (tapa), SQLite, agus stóráil dhíogbháilte do shonraí íogair. Is tábhachtach an ceann ceart a roghnú.
Roghanna stórála logánta
ASYNCSTORAGE → simple async KEY-VALUE storage (the common basic option):
→ store strings (serialize objects to JSON); for settings, small data, simple caching
→ async API; persists across app launches
MMKV → a very FAST key-value storage (by WeChat) — faster than AsyncStorage, synchronous;
popular modern choice for performance
SQLITE (e.g. expo-sqlite, react-native-sqlite, WatermelonDB) → relational DATABASE for
STRUCTURED/large data, queries, relationships, offline-first apps
SECURE STORAGE → expo-secure-store / react-native-keychain for SENSITIVE data (tokens,
credentials) — ENCRYPTED (keychain/keystore)
