Files
petfeed/mobile/app
admin 6f83f47186 fix(mobile): fix Feed crash — hook called after conditional early return
FeedScreen's feedItems useMemo (interleaveTrending) sat after the
loading/error early returns instead of before them, violating the
Rules of Hooks: the loading-state render calls fewer hooks than the
loaded-state render, so React throws "Rendered fewer hooks than
expected" the moment the feed finishes loading — crashing the app on
every real device right after login. Moved the useMemo (and the plain
posts/trendingPosts derivations it depends on) above both early
returns so every render calls the same hooks in the same order.

Also add graphify-out to the root .easignore.
2026-09-06 21:39:28 +02:00
..