Got a bit confused with SSR. I'm using trpc, fetching some data with which I want to construct title, description meta tags. On some sites it looks ok (displaying title and description) on some I get undefined in the text of the tags. Assuming that the tags are generated before the trpc request finished.
I've also checked issues with ssr in trpc and it confused me. Long story short, what's the best way to dynamically set meta tags for [id].tsx like files?