8 مستودعات
Techniques for loading data on the server before rendering to ensure immediate content availability.
Distinguishing note: Focuses on server-side rendering integration for data hydration, distinct from client-side prefetching.
Explore 8 awesome GitHub repositories matching web development · Server-Side Data Prefetching. Refine with filters or upvote what's useful.
React هي مكتبة JavaScript لبناء واجهات المستخدم تعتمد على معمارية قائمة على المكونات وتدفق بيانات أحادي الاتجاه.
Serializes and injects server-side variables into HTML to ensure consistent data during hydration.
SWR is a data fetching library that provides a collection of hooks for managing remote data synchronization, caching, and state updates in web applications. It employs a declarative approach to handle complex network request lifecycles and dependency chains, ensuring that client-side application state remains consistent with server data through automatic revalidation and background updates. The library distinguishes itself through a reactive cache layer that automatically synchronizes local state with remote sources based on component lifecycle events. It features event-driven revalidation, w
Loads data on the server before sending pages to the browser to ensure users see complete content immediately.
Wagmi is a collection of reactive hooks and a toolkit for interacting with Ethereum blockchains. It provides a comprehensive suite of primitives for managing wallet connections, reading smart contract data, and orchestrating on-chain transactions. The project distinguishes itself through a smart contract interface toolkit that retrieves binary interfaces to generate type-safe hooks and function wrappers. This ensures that blockchain inputs and outputs are validated at compile-time. It also features a specialized utility for translating Ethereum Name Service domains into wallet addresses and p
Provides utilities to prefetch blockchain data on the server to seed the client cache and improve initial load speed.
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 data during SSR and hydrates it seamlessly into client-side Vue components.
Vue Apollo is a GraphQL client library for Vue.js that integrates Apollo GraphQL queries and mutations into Vue components with reactive data binding. It provides a reactive data layer that automatically updates Vue component state when GraphQL query results change, and supports server-side rendering by prefetching queries during SSR to deliver fully populated HTML on initial page load. The library allows GraphQL queries and mutations to be declared directly inside Vue component options using the apollo property, keeping data dependencies co-located with the UI. It wraps Apollo Client's nor
Prefetches GraphQL queries during server-side rendering to deliver fully populated HTML on initial page load.
هذا المشروع عبارة عن سقالة JavaScript كاملة المكدس ونموذج أولي لمشروع MERN stack. يوفر بنية مشروع مهيأة مسبقاً تجمع بين MongoDB و Express و React و Node.js لتقليل وقت الإعداد اليدوي عند بدء تطبيقات الويب المدفوعة بالبيانات. تتميز مجموعة الأدوات ببيئة كاملة المكدس داخل حاويات تعزل التطبيق وقاعدة البيانات في حاويات لضمان الاتساق بين التطوير والإنتاج. كما تتضمن إطار عمل للعرض من جانب الخادم مصمماً لتوليد HTML على الخادم والترطيب على العميل لتحسين سرعات التحميل ورؤية محركات البحث. يغطي المشروع سير عمل تطوير واسع، بما في ذلك سقالات المشروع القائمة على القوالب عبر واجهة سطر الأوامر، وتجميع الأصول، وتحويل JavaScript. كما يدعم الجلب المسبق لمكونات جانب الخادم لضمان توفر البيانات قبل عرض الصفحة.
Supports dispatching data requests on the server before page rendering to ensure content availability upon delivery.
هذا المشروع عبارة عن إضافة (plugin) للتفاعلية (reactivity) تجلب Composition API وإدارة الحالة التفاعلية من Vue 3 إلى تطبيقات Vue 2. يعمل المشروع كمنظم لمنطق المكونات (component logic) ونظام لتغليف الحالة التفاعلية والوظائف في أدوات مساعدة قابلة لإعادة الاستخدام. تتيح الإضافة استخدام وظائف قابلة للتركيب (composable functions) لمشاركة المنطق المعتمد على الحالة عبر المكونات دون الاعتماد على mixins. يوفر المشروع هيكلاً يعتمد على المتغيرات والوظائف البسيطة لتسهيل الاستنتاج التلقائي للأنواع (type inference) والإكمال التلقائي في المحرر. بالإضافة إلى ذلك، يتضمن نظام حقن تبعيات (dependency injection) يعتمد على الموفر (provider) لمشاركة البيانات والوظائف عبر شجرة المكونات. يغطي النظام إدارة الحالة التفاعلية، والخصائص المحسوبة (computed properties)، والمراقبين (watchers)، إلى جانب القدرة على ربط دورة حياة المكونات. كما يسمح بدمج مكتبات خارجية تعتمد على الحالة في نظام التفاعلية الأصلي ويدعم جلب البيانات مسبقاً (prefetching) على الخادم. المشروع مكتوب بلغة TypeScript.
Supports executing asynchronous logic on the server to prefetch data before rendering the initial HTML.
توفر هذه المكتبة مجموعة من الخطافات (hooks) لدمج عمليات بيانات GraphQL في المكونات الوظيفية داخل نظام Apollo Client البيئي. تعمل كأداة لإدارة الحالة تقوم بمزامنة بيانات الخادم البعيدة مع حالة المكون المحلي، مما يضمن تمثيل بيانات متسق عبر واجهة المستخدم. يتميز المشروع بتمكين العرض من جانب الخادم (server-side rendering) من خلال إطار عمل من الأدوات التي تجلب البيانات مسبقاً وتحل أشجار المكونات لتقديم HTML مأهول بالكامل. يستخدم المشروع نمطاً قائماً على المزود (provider-based) لحقن عميل البيانات في شجرة المكونات، مما يسمح للعناصر المتداخلة بالوصول إلى البيانات البعيدة وإدارتها من خلال استدعاءات وظائف قياسية واعية بدورة الحياة. تغطي المكتبة نطاقاً شاملاً من قدرات إدارة البيانات، بما في ذلك الجلب عن بعد، وتنفيذ الطفرات (mutation)، والبث في الوقت الفعلي عبر اتصالات مستمرة. تتعامل المكتبة مع تعقيدات التحميل، وحالات الخطأ، ومزامنة ذاكرة التخزين المؤقت تلقائياً، مما يوفر واجهة موحدة للتفاعل مع مصادر البيانات المحلية والبعيدة.
Resolves GraphQL queries during server-side rendering to generate fully populated HTML output.