queryOptions.enabled
I am using Hasura/GraphQL with Ant Design and my hooks appear to still run queries even if
queryOptions.enabled
is hard-coded to false
1 Reply
optimistic-gold•2y ago
actually nevermind, I think this is because
refetch
is in a useEffect