ag1155
ag1155
TTCTheo's Typesafe Cult
Created by ag1155 on 10/4/2023 in #questions
getServerSideProps, equivalent for t3 with app router
Hey, I'm creating a t3 app I am using the app router, and I am looking for the equivalent of getServerSideProps, but every example I have seen uses an external static api url. Looking to pass data to my react server component from my db. Has anyone done this with the app router using the internal api routes? Would love to see an example
2 replies