Data Fetching best practices
Wondering what sort of best practices for data fetching I should follow (especially patterns for this stack specifically)? For example, my home page has looks like pictured.
Should the server state i grab on page load just grab everything i need (using CSR)? So just one big trpc call that gets me groups, user info, and everything else I might need? Should user data just rely on session data instead, and then fetch group info in isolation?
Just a little confused how to move forward once the app is configured
0 Replies