Now my question would be if it is possible to pass the trpcClient in a similar manner to a tRPC wrapped useQuery / useMutation hook.
For those wondering why: Astro's island architecture breaks the ability to use providers. It would be possible to wrap each island with a provider but passing the client would make it much easier.
No replies yet
Join the Discord to continue the conversation
t
tRPC
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.