Something went wrong. Try again.
Mirror — see github.com/blacksky-algorithms/blacksky.community
Something went wrong. Try again.
Fix circular import: extract findAllPostsInTopicQueryData
Move findAllPostsInTopicQueryData out of the screen file and into a state-only module. post-shadow.ts is loaded early in app boot, but its top-level import of #/screens/Topic dragged TabBar.web.tsx (and the rest of the view chain) along with it — and the chain re-entered #/alf before its 'web' export had finished initializing, throwing 'Cannot read properties of undefined (reading web)' at first paint. Same query key, same behavior; the function lives at #/state/queries/topic-feed and is shared via TOPIC_FEED_QUERY_KEY_ROOT so Topic.tsx and post-shadow can't drift.
Author Rudy Fraser Date (May 7, 2026, 6:31 PM UTC) Commit
Copy SHA
Parent 1b89101a 1b89101a4a7488d78193924ad62e33b72b0ab19e