frontend-network-resilience
CommunityFrontend resilience patterns for UX.
Authorshredbx
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Patterns for building robust frontend network interactions, including retry logic with exponential backoff, error differentiation, offline detection, and user feedback.
Core Features & Use Cases
- Exponential Backoff Retry: Implement retry logic for API calls with backoff schedules.
- Error Type Differentiation: Classify errors into offline, timeout, blocked, server_error, etc., with user messages.
- Offline Detection: Detect offline state via navigator.onLine and handle accordingly.
- Loading States: Provide progressive loading indicators and user feedback during delays.
Quick Start
Implement a retryWithBackoff function and apply it to a sample API call in a frontend workflow.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: frontend-network-resilience Download link: https://github.com/shredbx/demo-3d-model/archive/main.zip#frontend-network-resilience Please download this .zip file, extract it, and install it in the .claude/skills/ directory.