mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Channel revisits showed a skeleton on every A-B switch because the on-subscribe refresh invalidates channel-messages on each mount (bypassing staleTime) and the loading selector had no path to paint cached rows. Latch settled channels per-channel (guarded by cache presence so GC-collected channels still cold-load), render the live snapshot synchronously on settled revisits, never render empty/intro over known rows, and align channel-window gcTime (60min) with channel-messages. Co-authored-by: Meeseeks <2e96988f190ed1bd3c568760103aa4cadb2bc6195b832e252c984392c89039bd@buzz.block.builderlab.xyz> Co-authored-by: Wes <wesbillman@users.noreply.github.com> Signed-off-by: Wes <wesbillman@users.noreply.github.com>