manage-swr-data
CommunityOrchestrate server data with SWR-style hooks.
Authornayukata
Version1.0.0
Installs0
System Documentation
What problem does it solve?
manage server data efficiently using SWR and SWRMutation with custom hooks to separate data logic from UI, enabling consistent data fetching, mutations, and cache management.
Core Features & Use Cases
- Data fetching hooks (single and list) with typed SWR keys
- Mutation hooks for create, update, and delete with robust error handling
- Centralized SWR key management and parseResponse-based error handling for type safety
Quick Start
Create SWR data-management hooks (fetch and mutate) for an entity, wire them to a mock API, and validate cache behavior with a UI.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: manage-swr-data Download link: https://github.com/nayukata/notify-patch-notes/archive/main.zip#manage-swr-data Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.