Michael SchaufelbergerM
tRPC3y ago
3 replies
Michael Schaufelberger

Best Practice to Fetch a Query OnDemand

What's the best practice to fetch a query on demand?

I don't have the context for the query's input in the scope of my component. (Using react-hook-form with a zodResolver that has a dynamic refinement based on the fields submitted and a components prop)
Was this page helpful?