Skip to content
r.

react-use-websocket

robtaussig/react-use-websocket · Public GitHub repository

React Hook for WebSocket communication

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

react-use-websocket live demo screenshot
Captured from the live demo · 2026-11-03

About this project

Author-written excerpt from the project README.

Note: wss://demos.kaazing.com/echo has been down lately, so the demo will fail to connect when using that as the endpoint. On the plus side, this demonstrates the behavior of a connection failure.

Requirements and intended audience

Note: wss://demos.kaazing.com/echo has been down lately, so the demo will fail to connect when using that as the endpoint. On the plus side, this demonstrates the behavior of a connection failure.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-27. Source: https://github.com/robtaussig/react-use-websocket/blob/master/README.md

Recorded maintenance information

Last recorded source update: 2025-02-04. Saved release: 3.0.0 · 2022-02-07. These dates do not guarantee ongoing maintenance.

Technologies
React
Licence
MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-23. This does not test every feature.

Browse related categories