Open mohesem opened 3 years ago
I think this is why we'd need lazy queries; dev said in this comment that they'd investigate in the future, but I agree that missing the lazy queries makes you have to code in circles to keep from sending lots of random queries from things like search forms.
https://github.com/timhall/svelte-apollo/issues/53#issuecomment-729357088
I am trying to write a login form.
Until here everything is fine, and refetch query works totally as expected,
the problem is $login sends a query to the server when the component is mounting.
Am I missing something or this behavior is normal?