shakespeare.diy 409d443dbd Fix event detail 404 by retrying instead of caching empty results
The NPool's 500ms eoseTimeout causes event-by-ID queries to resolve
before slower relays respond. Previously, useEvent returned null on
the first miss and the page immediately showed a 404.

Now:
- useEvent/useAddrEvent throw on miss so TanStack Query retries
  (3 retries with exponential backoff: 2s, 4s, 8s)
- PostDetailPage shows the skeleton while retrying (checks isFetching)
- Only shows 404 after all retries are exhausted
- Feed cache seeding from previous commit still provides instant
  navigation for events already seen in the feed

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
2026-02-18 00:49:13 -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%