{"adoption": {"forks": 155, "observed_at": "2026-08-28T04:05:49.016588+00:00", "stars": 1886}, "canonical_url": "https://ross.abutalabs.com/products/react-use-websocket", "card": {"archived": false, "artifact_type": "library", "description": "React Hook for WebSocket communication", "domain": ["web-development", "frontend"], "enriched": true, "function": ["websocket", "http-client", "state-management"], "health_score": 23, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["robtaussig/react-use-websocket"], "name": "robtaussig/react-use-websocket", "platform": ["browser"], "pushed_at": "2025-02-04T05:15:22+00:00", "repo": "robtaussig/react-use-websocket", "stars": 1886, "tags": ["react-hooks", "websocket-client", "real-time-communication", "socketio", "real-time", "nodejs", "web-server"], "topics": [], "urls": [], "use_cases": ["connect to a websocket from a react component", "handle real-time messages in react", "auto-reconnect websocket in react app", "send and receive json over websocket in react", "track websocket connection status in ui", "use socketio with react hooks"], "what_it_is": "A React Hook library that provides robust WebSocket integration for React components, with features like automatic reconnection, JSON message handling, and ready-state tracking. It also offers experimental SocketIO support.", "when_to_avoid": ["you are not using React", "you need full Socket.IO protocol support (only experimental)", "you need server-side WebSocket handling rather than a client hook"], "when_to_choose": ["you need declarative WebSocket usage inside React function components", "you want built-in reconnection, heartbeats, and JSON message helpers", "you want a small, focused hook rather than a full state-management solution"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/react-use-websocket", "repo": "robtaussig/react-use-websocket", "role": "main", "score": 25}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:49.016588+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:13:35.517715+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f1660bfea1137ebd1246d8e65c94f7483b3cf1652954cb34bc7228e01c9d2fa6", "fetched_at": "2026-08-28T04:05:49.016588+00:00", "kind": "readme", "missing": false, "url": "https://github.com/robtaussig/react-use-websocket"}, {"content_hash": "d45a4d71e8fcf6dee79c3fd3267a7cd7c051955d53753aae5bab0683b0be1103", "fetched_at": "2026-08-29T10:52:49.069272+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-use-websocket"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:49.016588+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:13:35.517715+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f1660bfea1137ebd1246d8e65c94f7483b3cf1652954cb34bc7228e01c9d2fa6", "fetched_at": "2026-08-28T04:05:49.016588+00:00", "kind": "readme", "missing": false, "url": "https://github.com/robtaussig/react-use-websocket"}, {"content_hash": "d45a4d71e8fcf6dee79c3fd3267a7cd7c051955d53753aae5bab0683b0be1103", "fetched_at": "2026-08-29T10:52:49.069272+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-use-websocket"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:13:35.517715+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f1660bfea1137ebd1246d8e65c94f7483b3cf1652954cb34bc7228e01c9d2fa6", "fetched_at": "2026-08-28T04:05:49.016588+00:00", "kind": "readme", "missing": false, "url": "https://github.com/robtaussig/react-use-websocket"}, {"content_hash": "d45a4d71e8fcf6dee79c3fd3267a7cd7c051955d53753aae5bab0683b0be1103", "fetched_at": "2026-08-29T10:52:49.069272+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-use-websocket"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:49.016588+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:49.016588+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:49.016588+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:13:35.517715+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f1660bfea1137ebd1246d8e65c94f7483b3cf1652954cb34bc7228e01c9d2fa6", "fetched_at": "2026-08-28T04:05:49.016588+00:00", "kind": "readme", "missing": false, "url": "https://github.com/robtaussig/react-use-websocket"}, {"content_hash": "d45a4d71e8fcf6dee79c3fd3267a7cd7c051955d53753aae5bab0683b0be1103", "fetched_at": "2026-08-29T10:52:49.069272+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-use-websocket"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:49.016588+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:49.016588+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:13:35.517715+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f1660bfea1137ebd1246d8e65c94f7483b3cf1652954cb34bc7228e01c9d2fa6", "fetched_at": "2026-08-28T04:05:49.016588+00:00", "kind": "readme", "missing": false, "url": "https://github.com/robtaussig/react-use-websocket"}, {"content_hash": "d45a4d71e8fcf6dee79c3fd3267a7cd7c051955d53753aae5bab0683b0be1103", "fetched_at": "2026-08-29T10:52:49.069272+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-use-websocket"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:49.016588+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:49.016588+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:49.016588+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:13:35.517715+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f1660bfea1137ebd1246d8e65c94f7483b3cf1652954cb34bc7228e01c9d2fa6", "fetched_at": "2026-08-28T04:05:49.016588+00:00", "kind": "readme", "missing": false, "url": "https://github.com/robtaussig/react-use-websocket"}, {"content_hash": "d45a4d71e8fcf6dee79c3fd3267a7cd7c051955d53753aae5bab0683b0be1103", "fetched_at": "2026-08-29T10:52:49.069272+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-use-websocket"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:49.016588+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:49.016588+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:13:35.517715+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f1660bfea1137ebd1246d8e65c94f7483b3cf1652954cb34bc7228e01c9d2fa6", "fetched_at": "2026-08-28T04:05:49.016588+00:00", "kind": "readme", "missing": false, "url": "https://github.com/robtaussig/react-use-websocket"}, {"content_hash": "d45a4d71e8fcf6dee79c3fd3267a7cd7c051955d53753aae5bab0683b0be1103", "fetched_at": "2026-08-29T10:52:49.069272+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-use-websocket"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:13:35.517715+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f1660bfea1137ebd1246d8e65c94f7483b3cf1652954cb34bc7228e01c9d2fa6", "fetched_at": "2026-08-28T04:05:49.016588+00:00", "kind": "readme", "missing": false, "url": "https://github.com/robtaussig/react-use-websocket"}, {"content_hash": "d45a4d71e8fcf6dee79c3fd3267a7cd7c051955d53753aae5bab0683b0be1103", "fetched_at": "2026-08-29T10:52:49.069272+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-use-websocket"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:13:35.517715+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f1660bfea1137ebd1246d8e65c94f7483b3cf1652954cb34bc7228e01c9d2fa6", "fetched_at": "2026-08-28T04:05:49.016588+00:00", "kind": "readme", "missing": false, "url": "https://github.com/robtaussig/react-use-websocket"}, {"content_hash": "d45a4d71e8fcf6dee79c3fd3267a7cd7c051955d53753aae5bab0683b0be1103", "fetched_at": "2026-08-29T10:52:49.069272+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-use-websocket"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:13:35.517715+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f1660bfea1137ebd1246d8e65c94f7483b3cf1652954cb34bc7228e01c9d2fa6", "fetched_at": "2026-08-28T04:05:49.016588+00:00", "kind": "readme", "missing": false, "url": "https://github.com/robtaussig/react-use-websocket"}, {"content_hash": "d45a4d71e8fcf6dee79c3fd3267a7cd7c051955d53753aae5bab0683b0be1103", "fetched_at": "2026-08-29T10:52:49.069272+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-use-websocket"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 5, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2678, "days_push": 575, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 25, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}