Is there a way to make API calls using TRPC in non-functional components?

Original message was deleted