Son
CCConvex Community
β’Created by Son on 5/5/2025 in #support-community
Convex Queries re-run on all screen navigations - Expo SDK 53 in production only
Wishing you the best of luck bro! Ill pray to saint espidite on your behalf
24 replies
CCConvex Community
β’Created by Son on 5/5/2025 in #support-community
Convex Queries re-run on all screen navigations - Expo SDK 53 in production only
What version are you on?
24 replies
CCConvex Community
β’Created by Son on 5/5/2025 in #support-community
Convex Queries re-run on all screen navigations - Expo SDK 53 in production only
6 days of hell. But It was worth it, it forced me clear up and optimise many areas of the codebase. It was a means to many ends iβd say. π€£
24 replies
CCConvex Community
β’Created by Son on 5/5/2025 in #support-community
Convex Queries re-run on all screen navigations - Expo SDK 53 in production only
just created a brand new build and pushed it to production. everything works as expected... π π
the only thing i did differently was pray to Saint Expedite (i'm not religious)
24 replies
CCConvex Community
β’Created by Son on 5/5/2025 in #support-community
Convex Queries re-run on all screen navigations - Expo SDK 53 in production only
I've been testing further, and what's happening is that in development β on a real device or simulator β only the queries mounted and unmounted with the screen get re-run, which is expected.
But in production, when I navigate across screens, all subscribed queries in( _layout.tsx files) re-run, which is not expected.
What seemed to fix it (for now) was doing a ton of Expo updates with absolutely no code changes. One of them must have fixed the issue β at this point, I have no idea whats going on.
for now... production works... π ... i should be smiling but... this does not feel right.
24 replies
CCConvex Community
β’Created by Son on 5/5/2025 in #support-community
Convex Queries re-run on all screen navigations - Expo SDK 53 in production only
I think this is an Expo Router v5 issue. I've resolved the Convex errors and we no longer lose auth.
The situation is still the same: in development, everything works as expected; in production, whenever I navigate via router.push() and on screen mount, Convex queries re-run.
i think theres. more to it than this.
I'm trying to debug Expo now, but if you discover anything, please let me know.
Thanks for all the help!
24 replies
CCConvex Community
β’Created by Son on 5/5/2025 in #support-community
Convex Queries re-run on all screen navigations - Expo SDK 53 in production only
I get the same issue, downgrading didn't solve it. Still get a ton of errors in the dashboard on the 1st run
"@clerk/clerk-expo": "^2.10.7",
"expo": "~53.0.7",
"convex": "^1.24.0",
"convex-helpers": "^0.1.84",
it looks the clerk auth context is lost on every screen navigation.24 replies
CCConvex Community
β’Created by Son on 5/5/2025 in #support-community
Convex Queries re-run on all screen navigations - Expo SDK 53 in production only
i'll try this now
24 replies
CCConvex Community
β’Created by Son on 5/5/2025 in #support-community
Convex Queries re-run on all screen navigations - Expo SDK 53 in production only
i do not get these errors on a development build on a real device - what makes it super confusing via the TestFlight app is that they obviously all fail but then run successfully anyway on the 2nd try. π π π
24 replies
CCConvex Community
β’Created by Son on 5/5/2025 in #support-community
Convex Queries re-run on all screen navigations - Expo SDK 53 in production only

24 replies
CCConvex Community
β’Created by Patolord on 12/20/2024 in #support-community
Architecture of larger convex apps.
Oh this makes sense! Thanks
10 replies
CCConvex Community
β’Created by Patolord on 12/20/2024 in #support-community
Architecture of larger convex apps.
Thanks for the response! iβve only used jsx based frameworks (JavaScript) and i understand what youβre getting at.
Most of my queries and mutations just call helpers as you say.
Im struggling to visualise what your get here though
βIf you have an organizations table, keep addMemberToOrg, getAllOrgMembers, etc. in one file or directory. Don't directly insert into the organizations table from outside of that directory, so you don't have to remember to check permissions or set foreign keys or enforce constraints from other places.β
10 replies
CCConvex Community
β’Created by Patolord on 12/20/2024 in #support-community
Architecture of larger convex apps.
Do you have examples of this βaccessorβ patterns?
10 replies
CCConvex Community
β’Created by Son on 12/22/2024 in #general
son_ayo's Thread
Is it a good to approach to make all fields in your database scheme optional?
6 replies
CCConvex Community
β’Created by Son on 12/22/2024 in #general
son_ayo's Thread
Thanks for the tips
6 replies