Kata 01

WebSocket Echo

Connects to Hyperliquid's public WebSocket, subscribes to ETH trades, and renders the latest 20 with a connection-status indicator. No reconnect logic yet — that is Kata 02.

closed0 trade messages received

Plain WebSocket — connect on mount, subscribe in onopen, close on unmount. Prices and sizes stay as strings (never parseFloat).

Disconnected.