N

native-data-fetching

Par :expo·#188 tendance

Install the native-data-fetching skill for your AI agent. Published by expo/skills.

26.0Kinstallations hebdomadaires
1,800étoiles
Vu pour la première foisToday

Installation

Envoyez cette commande à votre agent IA :

npx skills add https://github.com/expo/skills --skill native-data-fetching

Documentation

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