T
TanStack4d ago
absent-sapphire

router.tsx for Convex + Start RC

I wonder if it is correct to nest <ConvexAuthProvider> as a child of <QueryClientProvider>. Is it redundant? deps:
"@convex-dev/auth": "^0.0.90",
"@convex-dev/react-query": "0.0.0-alpha.11",
"convex": "^1.27.3",
"@tailwindcss/typography": "^0.5.19",
"@tanstack/react-query": "^5.90.2",
"@tanstack/react-query-devtools": "^5.90.2",
"@tanstack/react-router": "^1.132.26",
"@tanstack/react-start": "^1.132.26",
"@tanstack/router-devtools": "^1.132.26",
"@convex-dev/auth": "^0.0.90",
"@convex-dev/react-query": "0.0.0-alpha.11",
"convex": "^1.27.3",
"@tailwindcss/typography": "^0.5.19",
"@tanstack/react-query": "^5.90.2",
"@tanstack/react-query-devtools": "^5.90.2",
"@tanstack/react-router": "^1.132.26",
"@tanstack/react-start": "^1.132.26",
"@tanstack/router-devtools": "^1.132.26",
router.tsx see attachment
2 Replies
correct-apricot
correct-apricot2d ago
Probably you still want it, you'll have auth components that use it for context
absent-sapphire
absent-sapphireOP1h ago
yeah but i wonder if it is redundant with the other provider

Did you find this page helpful?