---
"@apollo/client": major
---

Remove the `onCompleted` and `onError` callbacks from `useQuery` and `useLazyQuery`.

See [#12352](https://github.com/apollographql/apollo-client/issues/12352) for more context on this change.
