shakespeare.diy d4dbe65256 fix: fire prefetch in background and include p-tag pubkeys for mentions
Two fixes:

1. Pagination speed: stop blocking queryFn on author/stats prefetch.
   Items now return immediately and render right away. The prefetch runs
   fire-and-forget in the background — if it resolves before the user
   scrolls to a card the cache is warm; if not, useAuthor/useEventStats
   per-card handle it as before. No more waiting for 2 relay round trips
   before new cards appear.

2. Mentions dropping 50%: the prefetch was only collecting post authors
   and repost authors, missing the pubkeys in p-tags (reply-to targets
   and @mentions). With 15 cards mounting at once, each firing its own
   useAuthor for these missed pubkeys, the relay rate-limited ~half of
   them. Now p-tag pubkeys are included in the single batch author fetch,
   so all mention/reply-to names resolve in one round trip.

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-02-18 10:07:57 -06:00
2026-02-16 16:54:01 -06:00
2026-02-16 16:54:01 -06:00
S
Description
Activist social network and fundraising platform on Nostr
AGPL-3.0 43 MiB
Languages
TypeScript 95.7%
Java 1.5%
JavaScript 0.9%
Swift 0.9%
CSS 0.5%
Other 0.4%