← 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