2 مستودعات
Prefetches GraphQL data during server-side rendering and hydrates it on the client.
Distinct from Server-Side Data Prefetching: Distinct from Server-Side Data Prefetching: specifically targets GraphQL data prefetching and hydration, not general server-side data loading.
Explore 2 awesome GitHub repositories matching web development · Server-Side GraphQL Data Prefetching. Refine with filters or upvote what's useful.
Vue Apollo is a GraphQL integration library for Vue applications that connects Vue components to GraphQL APIs using Apollo Client. It provides a reactive data layer for querying, mutating, and subscribing to data from GraphQL endpoints, with automatic cache updates and real-time subscription support. The library offers multiple API surfaces for working with GraphQL data, including slot-based declarative components, composable functions for the Composition API, and Options API integration. It handles the full lifecycle of GraphQL operations, from automatic data fetching with reactive queries t
Prefetches GraphQL queries during SSR and hydrates the client cache to avoid redundant network requests.
توفر هذه المكتبة مجموعة من الخطافات (hooks) لدمج عمليات بيانات GraphQL في المكونات الوظيفية داخل نظام Apollo Client البيئي. تعمل كأداة لإدارة الحالة تقوم بمزامنة بيانات الخادم البعيدة مع حالة المكون المحلي، مما يضمن تمثيل بيانات متسق عبر واجهة المستخدم. يتميز المشروع بتمكين العرض من جانب الخادم (server-side rendering) من خلال إطار عمل من الأدوات التي تجلب البيانات مسبقاً وتحل أشجار المكونات لتقديم HTML مأهول بالكامل. يستخدم المشروع نمطاً قائماً على المزود (provider-based) لحقن عميل البيانات في شجرة المكونات، مما يسمح للعناصر المتداخلة بالوصول إلى البيانات البعيدة وإدارتها من خلال استدعاءات وظائف قياسية واعية بدورة الحياة. تغطي المكتبة نطاقاً شاملاً من قدرات إدارة البيانات، بما في ذلك الجلب عن بعد، وتنفيذ الطفرات (mutation)، والبث في الوقت الفعلي عبر اتصالات مستمرة. تتعامل المكتبة مع تعقيدات التحميل، وحالات الخطأ، ومزامنة ذاكرة التخزين المؤقت تلقائياً، مما يوفر واجهة موحدة للتفاعل مع مصادر البيانات المحلية والبعيدة.
Resolves GraphQL queries during server-side rendering to generate fully populated HTML output.