T
TanStack3d ago
robust-apricot

router.tsx for Convex + Start

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
1 Reply
raw-harlequin
raw-harlequin3d ago
this may be a better suited question for the Convex discord, or in #react-query-questions maybe @erquhart can answer? Although I believe Convex may be expecting their provider to be higher in the tree, aka convex->query->children

Did you find this page helpful?