gql-dedup
JSON →A drop-in replacement for graphql-tag that automatically deduplicates fragments when composing GraphQL queries. Version 1.0.3 is current and stable, with no significant release cadence. Unlike graphql-tag, which throws duplicate fragment errors, gql-dedup safely includes each fragment only once, enabling reusable fragment composition across deeply nested dependencies. Ships TypeScript types and requires graphql-tag ^2.0.0 and graphql ^14.0.0 as peer dependencies. Ideal for Apollo Client projects that share fragments across multiple queries.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 1 distinct systems
last hit 22d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇮🇳 India
Resources
packagegql-dedup ↗