native-data-fetching

Standardize network requests and data fetching in React Native with TanStack Query.

Updated May 27, 2026
One-click install
npx skills add https://github.com/rex009x/mush-talk --skill native-data-fetching-rex009x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: native-data-fetching
Source: https://github.com/rex009x/mush-talk/tree/main/.agents/skills/native-data-fetching
Command: npx skills add https://github.com/rex009x/mush-talk --skill native-data-fetching-rex009x

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @tanstack/react-query, @react-native-community/netinfo, expo-secure-store, and includes references (resource) components.

What problem does it solve?

This skill addresses the complexity of managing network requests, API interactions, and data synchronization in React Native applications, ensuring your app remains performant, reliable, and offline-capable.

Core Features & Use Cases

  • Data Fetching & Caching: Implements efficient data retrieval using the Fetch API and TanStack Query for automatic caching and state management.
  • Error & Network Handling: Provides patterns for robust error handling, retry logic, and offline status monitoring using NetInfo.
  • Secure Authentication: Offers standardized approaches for token management and secure storage within the Expo ecosystem.

Quick Start

Use the native-data-fetching skill to implement a secure API client with error handling and React Query integration for your current feature.

Frequently Asked Questions about native-data-fetching

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement data fetching and caching in React Native with TanStack Query?

Data fetching in React Native uses TanStack Query with the Fetch API for automatic caching and state management. This integration ensures efficient data retrieval and synchronization across mobile application modules.

Does Expo work with SecureStore for secure token management?

SecureStore works within Expo to provide standardized token management and secure storage. It facilitates secure authentication by handling sensitive credentials consistently across the React Native application ecosystem.

What is the best way to handle offline status and network errors in Expo apps?

Handling offline status uses NetInfo for network monitoring alongside robust error handling and retry logic. This pattern provides resilient error recovery patterns ensuring your app remains reliable during connectivity loss.

Can I use React Query for state management in a React Native offline application?

React Query can be used for state management in offline React Native applications by integrating with NetInfo. This combination provides offline support and resilient data synchronization patterns across mobile modules.

Why does my network request fail when offline in Expo?

Network requests fail offline without proper error recovery patterns. Implementing NetInfo for offline status monitoring and resilient retry logic ensures your app handles connectivity loss gracefully and maintains performance.