lila/apps/web/src
lila 9affe339c6 feat(web): add WebSocket client and context infrastructure
- WsClient class: connect/disconnect/send/on/off/isConnected/clearCallbacks
- connect() derives wss:// from https:// automatically, returns Promise<void>
- on/off typed with Extract<WsServerMessage, { type: T }> for precise
  callback narrowing, callbacks stored as Map<string, Set<fn>>
- ws-context.ts: WsContextValue type + WsContext definition
- ws-provider.tsx: WsProvider with module-level wsClient singleton,
  owns connection lifecycle (connect/disconnect/isConnected state)
- ws-hooks.ts: useWsClient, useWsConnected, useWsConnect, useWsDisconnect
2026-04-17 21:12:15 +02:00
..
components/game chore: rename project from glossa to lila 2026-04-13 10:00:52 +02:00
lib feat(web): add WebSocket client and context infrastructure 2026-04-17 21:12:15 +02:00
routes fix(lint): resolve all eslint errors across monorepo 2026-04-17 16:46:33 +02:00
index.css installing and configuring tailwind 2026-03-21 20:59:26 +01:00
main.tsx installing and configuring tailwind 2026-03-21 20:59:26 +01:00
routeTree.gen.ts feat(api): add auth middleware to protect game endpoints 2026-04-12 13:38:32 +02:00