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
0 Replies