Data Fetching Patterns

SWR-based data fetching and caching patterns used throughout the monorepo. Use this skill when implementing API interactions, creating custom data hooks, handling loading/error states, or working with mock data. Covers SWR configuration, custom hook patterns (useUserInfo, useTimesSquarePage), error handling, and mock data setup.

majiayu000 62c79fc 2 files · 9.8 KB Updated 567 repo stars

File contents

majiayu000/claude-skill-registry-data/tree/main/data/data-fetching-patterns commit 62c79fc3a1

Frequently asked questions

npx skillmds add majiayu000/data-fetching-patterns