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
First of all thanks for creating react-query, it has been wonderful using it and we have been successfully using it across our application to interact with our APIs.
As we have been using it and fine-tuning thee configuration to our needs, we are starting to see a few bugs (in our app) creep up around cache invalidations and refetches.
We are using react-query version 2.26.4, with the following options
{
refetchOnWindowFocus: false,
cacheTime: 0
}
This works well and as expected in Chrome, but in IE11, I am seeing multiple calls being sent out in the Networks tab, resulting in the view not loading. If I leave out the cacheTime config, the default of 5mins makes the views show up old data, even though the API call in the Networks tab has returned correct data.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @tannerlinsley and all maintainers!
First of all thanks for creating react-query, it has been wonderful using it and we have been successfully using it across our application to interact with our APIs.
As we have been using it and fine-tuning thee configuration to our needs, we are starting to see a few bugs (in our app) creep up around cache invalidations and refetches.
We are using react-query version
2.26.4
, with the following optionsThis works well and as expected in Chrome, but in IE11, I am seeing multiple calls being sent out in the Networks tab, resulting in the view not loading. If I leave out the
cacheTime
config, the default of 5mins makes the views show up old data, even though the API call in the Networks tab has returned correct data.Any info is appreciated 🙏
Beta Was this translation helpful? Give feedback.
All reactions