SSG with tRPC
Hi!
I want to render the posts index page using SSG, and it should not be revalidated until the next build or deployment. I’m using the T3 stack with the app router and tRPC. I tried wrapping getPosts with
unstable_cache
, but encountered the following error:
The code:
How can I make this work as expected?0 Replies