Here's a custom query hook generator I wrote using
@clerk auth with @tan_stack query to make authenticated requests to your custom backend. It lets you pass in a @zodtypes schema to type-check the api response and you also get great autocomplete when using the query