What problem does it solve?
This Skill provides comprehensive guidance and solutions for all aspects of network requests, API calls, and data fetching within a native application environment, ensuring robust and efficient data handling.
Core Features & Use Cases
- API Request Implementation: Covers basic
fetch usage, POST requests, and authenticated calls.
- Data Fetching Libraries: Demonstrates setup and usage for React Query (TanStack Query).
- Error Handling & Resilience: Includes strategies for comprehensive error handling, retries, and request cancellation.
- Offline Support & Environment Config: Guides on checking network status, offline-first strategies, and managing environment variables for API configuration.
- Use Case: When implementing a new feature that requires fetching user profiles from an API, you would use this Skill to understand the best practices for making the request, handling potential errors, and caching the data effectively.
Quick Start
Use the native-data-fetching skill to implement a basic GET request to 'https://api.example.com/users/123'.