Preparing for system design interviews?  Try bugzed.com →

GraphQL Codegen SWR Plugin

JSON →
library 0.8.5 ·javascript
verified Jun 7, 2026

A GraphQL code generator plugin that automatically creates typed SWR hooks (useSWR, useSWRInfinite) from GraphQL operations. Version 0.8.5, actively maintained. Integrates with graphql-request and the GraphQL Codegen ecosystem. Unlike manual SWR wrapping, it auto-generates hooks with optimal caching keys and supports pagination, custom keys, and exclusion patterns. Requires graphql <17, and peer dependency on graphql-codegen typescript plugins. Ships TypeScript types.

total hits 6
actors 2 distinct systems
last hit 17d ago AhrefsBot
GPTBot
3
Humans
2

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada