You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since 0.7, Apollo Client returns referentially equal results when parts of a query result haven’t changed.
Is this still true for ApolloGraphQL, version 2.x ? Because for example, when I do a client.readQuery two times with the same query right one after another and then compare the results, they are not referentially equal.
Which makes implementing proper shouldComponentUpdate functions in React a bit tricky.
The text was updated successfully, but these errors were encountered:
Hello,
In this blog post:
https://blog.apollographql.com/apollo-client-0-8-e8db5efc75fb#889f
it says:
Is this still true for ApolloGraphQL, version 2.x ? Because for example, when I do a client.readQuery two times with the same query right one after another and then compare the results, they are not referentially equal.
Which makes implementing proper shouldComponentUpdate functions in React a bit tricky.
The text was updated successfully, but these errors were encountered: