微算力 · API 导航与自营网关
API 接入 EN
未登录登录
⚡

实时数据 Hook,秒连稳传零闪烁

Realtime React Hooks · v1.0.0
开发 安全 A 级 作者 wpank 来源 Cocoloop

简介

React 实时数据 Hook 库,集成 SSE、WebSocket 与 SWR,提供连接管理、自动重连及乐观更新模式,适用于仪表盘、聊天等实时场景。

原始描述

React hooks for real-time data with SSE, WebSocket, and SWR integration. Covers connection management, reconnection logic, and optimistic updates. Use when building React apps with real-time features. Triggers on SSE hook, WebSocket hook, real-time React, useEventSource, live updates.

标签

reactreal-timessewebsocketswrhookstypescriptoptimistic-updatesreconnectiondashboard

同类 Skill