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
{{ message }}
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
I tried this and looks like its called only when full is changed, not every rerender. I think its becouse full its record which is immutable structure.
I probably know why is that:
In Query.re calculation full is in React.useMemo which means that it is calculated only when its change. But calulate simple is not in React.useMemo - but in my opinion it should be (like in Mutation.re)
Hi There,
I'm facing an issue very similar to this one.
However, my hook is related to the
simple
argument of the query, not thefull
argument. It does unfortunately trigger the hook on every re-render.Any thoughts on why that is if the underlying query value is not changing?
The text was updated successfully, but these errors were encountered: