4 مستودعات
Hooks and utilities for integrating GraphQL data fetching and state management directly into React components.
Distinct from React Integrations: None of the candidates cover the specific pattern of providing hooks for GraphQL data operations within React components.
Explore 4 awesome GitHub repositories matching web development · React GraphQL Hooks. Refine with filters or upvote what's useful.
urql is a GraphQL client library designed for fetching and managing data from a GraphQL API. It provides a system for handling GraphQL data fetching, state management, and integration with React components. The library is distinguished by a middleware pipeline architecture that allows the request-response flow to be modified through swappable exchanges. This enables the customization of the data layer, including the addition of custom business logic, request deduplication, and specialized fetching behaviors. The project covers a broad range of capabilities, including normalized caching to en
Provides a set of hooks and utilities to connect GraphQL operations to React components, including support for Suspense.
Vulcan هو إطار عمل GraphQL لـ Meteor يدمج طبقة بيانات GraphQL مع مكونات React لبناء تطبيقات ويب كاملة المكدس (full-stack). يوفر نهجاً منظماً لتطوير التطبيقات داخل نظام Meteor البيئي، مع التركيز على المزامنة في الوقت الفعلي وإدارة البيانات الموحدة. يُمكّن إطار العمل سير عمل تطوير يربط واجهات مستخدم React بـ GraphQL API. يوسع منصة Meteor باستخدام GraphQL كطبقة بيانات أساسية للتعامل مع إدارة الحالة وجلب البيانات. يغطي النظام تطوير الويب كامل المكدس من خلال نموذج إدارة حالة قائم على المخطط (schema-driven)، وتنسيق الاستعلام من جانب العميل، وطبقة عرض تعريفية.
Integrates GraphQL data fetching and state management directly into React components.
React Apollo is a React-specific GraphQL data fetching library that binds Apollo Client to components through declarative hooks for queries, mutations, and subscriptions. It provides a declarative approach to GraphQL query execution where components declare their data requirements and automatically receive loading, error, and data states without managing request lifecycle code. The library distinguishes itself through a normalized cache layer that deduplicates entities and serves repeated requests without network calls, combined with incremental result streaming via the @defer directive for
Binds Apollo Client to React components with hooks for declarative GraphQL queries, mutations, and subscriptions.
توفر هذه المكتبة مجموعة من الخطافات (hooks) لدمج عمليات بيانات GraphQL في المكونات الوظيفية داخل نظام Apollo Client البيئي. تعمل كأداة لإدارة الحالة تقوم بمزامنة بيانات الخادم البعيدة مع حالة المكون المحلي، مما يضمن تمثيل بيانات متسق عبر واجهة المستخدم. يتميز المشروع بتمكين العرض من جانب الخادم (server-side rendering) من خلال إطار عمل من الأدوات التي تجلب البيانات مسبقاً وتحل أشجار المكونات لتقديم HTML مأهول بالكامل. يستخدم المشروع نمطاً قائماً على المزود (provider-based) لحقن عميل البيانات في شجرة المكونات، مما يسمح للعناصر المتداخلة بالوصول إلى البيانات البعيدة وإدارتها من خلال استدعاءات وظائف قياسية واعية بدورة الحياة. تغطي المكتبة نطاقاً شاملاً من قدرات إدارة البيانات، بما في ذلك الجلب عن بعد، وتنفيذ الطفرات (mutation)، والبث في الوقت الفعلي عبر اتصالات مستمرة. تتعامل المكتبة مع تعقيدات التحميل، وحالات الخطأ، ومزامنة ذاكرة التخزين المؤقت تلقائياً، مما يوفر واجهة موحدة للتفاعل مع مصادر البيانات المحلية والبعيدة.
Provides a collection of hooks for integrating GraphQL data operations into functional components.