Frontend 2,621 installs

native-data-fetching

by expo/skills

Use when implementing or debugging ANY network request, API call, or data fetching. Covers fetch API, React Query, SWR, error handling, caching, offline…

Skill content

Network requests, API calls, and data fetching for Expo apps with caching, error handling, and offline support.

- Covers fetch API, React Query, error handling patterns, token management with expo-secure-store, and retry logic with exponential backoff

- Includes offline-first strategies using NetInfo and React Query persistence, plus environment variable configuration with EXPO_PUBLIC_ prefix for client-side URLs

- Supports Expo Router data loaders (useLoaderData) for route-level data loading on web (SDK 55+)

- Provides authentication workflows including token storage, refresh token flows, and secure header injection

Expo Networking

You MUST use this skill for ANY networking work including API requests, data fetching, caching, or network debugging.

References

Consult these resources as needed:

references/
  expo-router-loaders.md   Route-level data loading with Expo Router loaders (web, SDK 55+)

When to Use

Use this skill when: