I noticed that in v3.5, the full result object from useLazyQuery
is no longer memoized. The individual properties are, just not the FULL object.
const [execute, results] = useLazyQuery(QUERY)
useEffect(() => {
// do something
// THIS FIRES EVERY RENDER WITH THE NEW CHANGE
}, [result])
I didn’t see anything indicating a possible breakage around this when upgrading from v3.4 to v3.5 in the changelog