Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

server-push-hooks

> 前端框架
Open source

React hooks for Socket.io, SSE, WebSockets and more to come

193 stars0 likes2 views
WebsiteGitHub

About

React hooks for Socket.io, SSE, WebSockets and more to come

React hooks for handling server-push technologies:

  • use-socketio for Socket.io
  • use-server-sent-events for Server Sent Events
  • use-websockets for Websocket

Running samples

To run samples locally, you can:

bash
$ git clone https://github.com/mfrachet/server-push-hooks
$ cd server-push-hooks
$ npm install # install lerna and dependencies at the root
$ npm run bootstrap # install lerna packages dependencies
$ npm run build # build the lerna packages
$ npm start # start the web application
$ npm start:test-server # start the backend services in another terminal
$ npm run e2e # run E2E tests of the projects in another terminal

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScripthooksreactserver-sent-eventssocketio

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架