rik
rik2mo ago

Missing .query()

I've done something interesting, and I have no idea what. I've done something wrong in the setup of my router such that each endpoint I've defined exists, but lack a .query(). I'm using the T3 stack, so most of the integration work is already done. I have failed to copy the setup correctly for my own router. This is almost certainly a newbie problem, but searching for .query() produces just a few false positives. What is necessary to make the .query() show up?
Solution:
The issue was that I'm a client component, and need to use the useQuery() style of calling.
Jump to solution
1 Reply
Solution
rik
rik2mo ago
The issue was that I'm a client component, and need to use the useQuery() style of calling.

Did you find this page helpful?