allenA
Convex Community3y ago
9 replies
allen

Curious if theres been any thought to

Curious if theres been any thought to having a more formalized way of declaring authed queries and having the query client automatically skip those until the convex auth is fully initialized.

I find myself having to do a lot of render blocking of components with queries to authed endpoints so they don't throw while the auth is initializing during first app load. I could add skip param to every query behind the auth wall, but that seems less than ideal.

Any patterns or approaches here that I'm not thinking of?
Was this page helpful?