1 repo
Hooks for managing persistent connections and updating state based on incoming events.
Distinguishing note: Focuses on real-time event streams and connection lifecycle management, distinct from standard request-response fetching.
Explore 1 awesome GitHub repository matching networking & communication · Real-time Data Subscriptions. Refine with filters or upvote what's useful.
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
Connects to real-time data sources to update component state automatically when new events arrive.