vicious-gold•3y ago
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
vicious-goldOP•3y ago
actually nevermind, I think this is because
refetch is in a useEffect