ARLISS
TTCTheo's Typesafe Cult
•Created by ARLISS on 6/9/2023 in #questions
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 :)
3 replies