react-apollo v3.1.1 Release Notes
Release Date: 2019-09-15 // over 4 years ago-
๐ Improvements
- ๐ป Calling
startPolling
orstopPolling
after a component has unmounted is now a no-op (instead of throwing an exception). Polling is automatically stopped when a component is unmounted, so it doesn't need to be called manually. @hwillson in #3485 - ๐ Allow
ignoreResults
to be controlled throughgraphql
andwithMutation
options. @tim-stasse in #3431 - Be a bit more defensive when it comes to accessing the internal
ObservableQuery
instance, to avoid attempting to use it after a component has unmounted. @jfrolich in #3490
๐ Bug Fixes
- A fix has been applied to prevent an unchanging
loading
state when an error occurs after a refetch, that is the same as the previous error. @jet2jet in #3477 - โ Add back in the removed
ChildDataProps
andChildMutateProps
types. @hwillson in #3495 - ๐ Make sure
onCompleted
is called each time auseLazyQuery
based query completes, after the execution function is called. @hwillson in #3497
- ๐ป Calling