File zone: one shared room subscription for read-by rows #108
Loading…
Reference in a new issue
No description provided.
Delete branch "void/file-readers-store"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
follow-up file-readers-shared-subscription (briefs chat-mind-...-t94 and chat-s6792-6792). receiptStore.ts: one listener set per room (Timeline, Redaction, TimelineReset) while any row is mounted, snapshot = the receipt events, changes identity only when receipts change; useFileReaders = useSyncExternalStore + readersOf, so the rules stay in one place. Tests: 200 rows register one listener per event and none after unsubscribe; one store per room; no notify on unrelated events; redaction/reset rescans.
🤖 Generated with Claude Code