Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
2 replies
ARLISS

alternative to getServerSideProps() for /app router era?

1. why is getServerSideProps() depreciated in nextjs 13.4+ ?
2. what are best practices for data fetching at request time from the server but rendering data on the client component?
2.1 => context: currently working on fetching data on the server with an API key but pushing this data to localstorage, ultimately to have it searchable in a simple search bar. let me know if my logic is wrong here or any improvements or more resources to help me better understand this topic :)
Was this page helpful?