native-data-fetching

Implement and debug network requests and data fetching in React Native.

Updated Jan 2, 2026
One-click install
npx skills add https://github.com/IlyaKukarkin/bee_bloom --skill native-data-fetching-ilyakukarkin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: native-data-fetching
Source: https://github.com/IlyaKukarkin/bee_bloom/tree/main/.agents/skills/native-data-fetching
Command: npx skills add https://github.com/IlyaKukarkin/bee_bloom --skill native-data-fetching-ilyakukarkin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides developers in implementing and debugging network requests, API calls, and data fetching in React Native. It covers fetch, axios, React Query, SWR, error handling, caching strategies, and offline support.

Core Features & Use Cases

  • Basic fetch usage with robust error handling across environments
  • React Query / SWR integration for data fetching, caching, and offline sync
  • Authentication and token management with secure storage and refresh flow
  • Offline-first patterns, retries, cancellation, and environment-based config

Quick Start

Start by establishing a robust fetch-and-cache flow with error handling for an API call.

Frequently Asked Questions about native-data-fetching

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

FAQPage Schema
How do I handle API calls and network requests in React Native when offline?

API calls in React Native require offline-first patterns that cache network responses and sync data when connectivity returns. This skill implements offline caching, retries, and cancellation to ensure data fetching survives unstable network environments.

What's the best way to manage authentication tokens securely in React Native data fetching?

Authentication token management in React Native requires secure storage and automated refresh flows during data fetching. This skill configures token rotation and attaches credentials to fetch and axios requests without exposing sensitive data.

Does React Query work with React Native for caching and offline data sync?

React Query integrates directly with React Native to manage data fetching, caching, and offline synchronization. This skill configures React Query and SWR to automatically cache API responses and retry failed network requests.

How do I implement error handling for fetch requests across different React Native environments?

Error handling for fetch requests in React Native involves catching network failures and parsing API error responses consistently across environments. This skill establishes robust error handling patterns for both basic fetch and axios API calls.

Why do my React Native fetch requests fail without throwing network errors?

React Native fetch requests often fail silently when network errors are not explicitly caught or when API error status codes are unhandled. This skill implements comprehensive error handling to capture and resolve hidden network failures.

Can I use axios with React Native for API calls and environment-based configuration?

Axios supports React Native API calls and allows environment-based configuration for different network endpoints. This skill sets up axios with environment variables, authentication, and offline retry logic for robust data fetching.