Llabe
Llabe•10mo ago

Global state?

Hey everyone! I am building a team base application using Nextjs 14 and Convex. The main page of the team is a dashboard where you can access different features. Comming from React Client components and the context API, I would probably fetch the data from my database using something like tanstack react query and then access the data needed on each dashboard window (to avoid refetching data). I don't have that much experience with server components, and I was wondering if there is any way to replicate something similar to what I mention. Or if its okey to just have multiple convex queries around. Sorry if its a silly question 🙂 Have a good one!
2 Replies
Indy
Indy•10mo ago
Yep just multiple convex queries that should be just fine.
Llabe
LlabeOP•10mo ago
Perfect, thanks!

Did you find this page helpful?