- Fix initial room load being skipped: `setup()` called `loadMoreRef.current` which was null on first mount (ref assigned in later effect). Call `loadMore` directly so the initial fetch always fires. WS message.list used when connected, HTTP fallback otherwise. - Rewrite useRoomWs to use shared RoomWsClient instead of creating its own raw WebSocket, eliminating duplicate WS connection per room. - Remove dead loadMoreRef now that setup calls loadMore directly. |
||
|---|---|---|
| .. | ||
| index.ts | ||
| project-context.tsx | ||
| repo-context.tsx | ||
| repository-context.tsx | ||
| room-context.tsx | ||
| theme-context.tsx | ||
| user-context.tsx | ||
| workspace-context.tsx | ||