T
tRPC

The only way to access useQuery options without input is passing undefined to it?

The only way to access useQuery options without input is passing undefined to it?

Kkevinka5/7/2023
Is there any other way? seems strange pass undefined to the input query
Mmichaelschufi5/8/2023
I think so. But that's a common pattern in JS if positional, but optional arguments are used.
Nnlucas5/8/2023
PRs welcome if you have any ideas 🙂

Looking for more? Join the community!

T
tRPC

The only way to access useQuery options without input is passing undefined to it?

Join Server