T3 BETA - how to query on client side?
I am using [email protected] with nexjs 13.
How can I make a query or a mutation on a client component?
There is no /utils folder for client side queries/mutation hooks.
4 Replies
Like you did in the /pages router the /app router w/ client components is not different
fixed it by copying the utils folder from the 7.18 version 🙂
now I have to test
@fleetadmiraljakob how can I do a lazy request so I can do a request or mutation on a button click
and is withTRPC hook required?
(in the end it is just a REST call)
Did you build a Rest API or an TRPC API?
sure, REST, GraphQL, gRPC