Tag: data-fetching
Robust Data Fetching Architecture with Zustand and SWR
This pattern provides a robust architecture for managing client-side state and data fetching by enforcing a Service Layer pattern. It guides developers to use SWR hooks within a Zustand store for state management, ensuring clean separation …
Implementing React Query API Hooks for Langflow
This skill guides the implementation of robust frontend data fetching patterns using Axios and TanStack React Query v5. It establishes a structured architecture for managing queries, mutations, cache invalidation, and error handling across …
LobeChat Data Fetching Architecture Guide
A structured architecture for managing data fetching using a service layer, Zustand stores, and SWR. It provides patterns for API encapsulation, cache invalidation, and synchronising client-side state with server-side data.
Implementing React Query Data Fetching Patterns
This skill guides the implementation of robust frontend data fetching using Axios and TanStack React Query v5. It establishes patterns for managing queries, mutations, cache invalidation, and error handling across the application.
Type-safe Contentrain Query SDK
A type-safe SDK for querying Contentrain content using a Prisma-pattern generated client. It supports both synchronous local data access and asynchronous remote fetching via CDN mode.
Full-stack workflow for data fetching and mutations
This pattern guides developers through building robust features by combining GET API routes for data retrieval, Server Actions for secure mutations, SWR for client-side caching, and React Hook Form with Zod for validation. It provides a str…