79428029

Date: 2025-02-10 18:53:56
Score: 2
Natty:
Report link

make sure you're using the page router because the getServerSideProps only works in the page router due NextJS official documentation: https://nextjs.org/docs/pages/building-your-application/data-fetching/get-server-side-props

if you want to use the app router you can check data fetching section here: https://nextjs.org/docs/app/building-your-application/data-fetching

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ali Valipour