This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
Fetch user data server-side instead of me.useQuery()
#4
Labels
enhancement
New feature or request
good first issue
Good for newcomers
hacktoberfest-accepted
help wanted
Extra attention is needed
Description
To improve our UX, we should ideally reduce (or completely elimiate) loaders in our page. Currently, we are not taking advantage of NextJS' features such as
getServerSideProps
to prefetch the data we need for our pages.Why are we not doing it?
What we expect to be done under this PR?
me.useQuery()
instances by loading the user data ongSSP
instead./dashboard
.gSSP
, we get this scenario where if I click the Get Started button, there's a noticable delay before the page actually navigates to the Dashboard (feels like it freezes since there's no loading indicator)The text was updated successfully, but these errors were encountered: