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
I'm looking at React code checking deps in areHookInputsEqual. I don't see anything here that would favor React state or props. They just use Object.is polyfill to compare deps.
The dependency tracking we have in place is intentional and we would like to keep it as is for now. If you notice any issues caused because of this, definitely let us know. Thanks!
https://github.com/apollographql/apollo-client/blob/master/src/react/hooks/utils/useBaseQuery.ts#L89
Is this dep list correct?
facebook/react#16121
"Dependencies should only include values that participate in top-down React data flow. Such as props, state, and what you calculate from them. "
The text was updated successfully, but these errors were encountered: