TanStackT
TanStackโ€ข16mo ago
living-lavender

Enabled property.

Hey there ๐Ÿ™‚
I was wondering if it would make sense to expose the enabled property of a query,
use-case: I have a query that is consumed in 5 places.
When the the query is disabled, I want to display a certain UI for those places.

I can also return it from the hook itself as another property,

Thanks ๐Ÿ™‚
Was this page helpful?