Closed navFooh closed 2 years ago
See issue https://github.com/glifio/safe/issues/113
The GraphQL endpoint return the same data, but when using a lazy hook like this for multiple calls at the same time:
const { data, error, loading } = await getAddress({ variables: { address: s } })
The returned data is the same for multiple calls, unless it is already stored in cache it seems. The solution seems to be to use a normal apolloClient.query() call.
data
apolloClient.query()
See issue https://github.com/glifio/safe/issues/113
The GraphQL endpoint return the same data, but when using a lazy hook like this for multiple calls at the same time:
The returned
data
is the same for multiple calls, unless it is already stored in cache it seems. The solution seems to be to use a normalapolloClient.query()
call.