rspace-online/modules/rcart/components
Jeff Emmett 53c757e68e fix: comprehensive memory leak and performance fixes across 44 files
Browser-side:
- Fix switchSpace() to LRU-evict idle space WebSocket connections (cap: 3)
- Add runtime.unsubscribe() to disconnectedCallback in 24 components
- Fix DocSyncManager.unsubscribe() to clean up syncStates, timers, listeners
- Fix 14 components leaking RAF loops, ResizeObservers, MutationObservers,
  document/window listeners, setIntervals, MapLibre WebGL contexts, and
  AbortControllers on disconnect
- Deduplicate Automerge WASM: module builds now use global shim from
  shell-offline instead of bundling ~2.5MB each (8 modules affected)

Server-side:
- Add LRU eviction to SyncServer.#docs (cap: 500, evicts idle docs with
  no subscribers, persists to disk before eviction)
- registerWatcher() now returns unsubscribe function

Data:
- Cap unbounded CRDT arrays: rexchange chatMessages (200), rcart events (200)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-10 22:26:24 -04:00
..
cart-demo.ts refactor: rename module directories to match r-prefixed module IDs 2026-02-28 19:49:26 -08:00
cart.css fix(layout): viewport-filling rApp layout — eliminate body scroll 2026-03-31 10:57:09 -07:00
folk-cart-shop.ts fix: comprehensive memory leak and performance fixes across 44 files 2026-04-10 22:26:24 -04:00
folk-group-buy-page.ts Fix mobile layout across all rcart pages and remove duplicate nav 2026-03-12 22:50:21 +00:00
folk-payment-page.ts fix: enforce subdomain routing — spaces are subdomains, never path segments 2026-04-03 14:09:53 -07:00
folk-payment-request.ts fix: enforce subdomain routing — spaces are subdomains, never path segments 2026-04-03 14:09:53 -07:00
folk-payments-dashboard.ts Fix mobile layout across all rcart pages and remove duplicate nav 2026-03-12 22:50:21 +00:00