In many cases (e.g. blogs, news, etc.) query results should be updated immediately after a user regains internet access.
Using a __refetch__ flag in a query could indicate that it should be executed again once the detectNetwork method passed in with the redux-offline config detects a network connection. Additionally, retries of pending queries/mutations could be watched and used to determine the current network status.
In many cases (e.g. blogs, news, etc.) query results should be updated immediately after a user regains internet access.
Using a
__refetch__
flag in a query could indicate that it should be executed again once thedetectNetwork
method passed in with the redux-offline config detects a network connection. Additionally, retries of pending queries/mutations could be watched and used to determine the current network status.