โ† React Native learning path
React Native ยท Module 6 of 10

Networking and storage

Fetch data from APIs and store it on the device.

๐Ÿ“– Key ideas

  1. Use fetch or axios for HTTP calls.
  2. TanStack Query handles caching and loading states.
  3. AsyncStorage stores small key-value data.
  4. expo-secure-store for tokens and secrets.
  5. SQLite or MMKV for larger or faster local storage.
๐Ÿ’ก Real-life example: SecureStore is a locker with a key; AsyncStorage is an open shelf for non-secret items.
fetchBuilt-in HTTP API
AsyncStorageSimple async key-value storage
SecureStoreEncrypted storage for secrets
TanStack QueryServer-state caching library