socket.io-react-hooks-advanced
Version:
A modular and extensible React + Socket.IO hook library designed for real-world applications. Supports namespaced sockets, reconnection strategies, offline queues, latency monitoring, middleware, encryption, and more.
10 lines (9 loc) • 340 B
TypeScript
export * from "./context/SocketProvider";
export * from "./context/SocketContext";
export * from "./middleware";
export * from "./plugins/encryptionPlugin";
export * from "./hooks/useSocket";
export * from "./hooks/useEmit";
export * from "./hooks/useEvent";
export * from "./hooks/useLatency";
export * from "./hooks/useConnectionStatus";