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
Describe the bug
This is more an FYI, not sure what the intention is here.
In 3.8.3 the return of useQuery was stable between re-renders, but in the 3.9 series, it is no longer. This caused an issue where we had a useMemo that only used that object as a dependency.
i think it is best to keep the dependencies as narrow as possible. If you only use data, only depend on data. Note that the queryInfo object was also a new reference on background refetches before (not on every render though) - because the isFetching flag changes. So you were likely recomputing that too often before as well.
Describe the bug
This is more an FYI, not sure what the intention is here.
In 3.8.3 the return of useQuery was stable between re-renders, but in the 3.9 series, it is no longer. This caused an issue where we had a useMemo that only used that object as a dependency.
eg:
This was fixed in our code, by updating the useMemo dependency.
To Reproduce
Steps to reproduce the behavior in 3.9.7:
Steps to reproduce the old behavior in 3.8.3:
Expected behavior
I expected the behavior to not change
Screenshots

The text was updated successfully, but these errors were encountered: