router.tsx for Convex + Start RC
I wonder if it is correct to nest
<ConvexAuthProvider> as a child of <QueryClientProvider>. Is it redundant?
deps:
router.tsx
see attachment3 Replies
genetic-orange•2mo ago
Probably you still want it, you'll have auth components that use it for context
conscious-sapphireOP•2mo ago
yeah but i wonder if it is redundant with the other provider
genetic-orange•2mo ago
The query client provider provides query client from query, the convex auth provides context for convex auth methods. If you aren't using convex auth methods directly, you should be able to remove it.