Using getServerSideProps vs TRPC in T3Stack

Hey quick thing, should I use getServerSideProps use or trpc.auth.getSession to check for auth when loading pages ?
4 Replies
amanuel
amanuel2y ago
gssp enables Server-Side Rendering, that's the difference
tropic
tropicOP2y ago
Hmmm thanks I do use session data for my navbar to show user icon etc
tropic
tropicOP2y ago
Great thats a good explaination thanks
Want results from more Discord servers?
Add your server