I recently tried using getServerSideProps(). There must be a reason why it was made, but its utility appears to me like that of a normal async function.
For instance, I am fetching user data with Prisma and NextAuth. I could put the logic I wrote in getServerSideProps() into just a regular async function inside my functional component and the effect would be the same.
Thank you in advance!