|
|
|
|
|
by aastronaut
1317 days ago
|
|
> Can you give some specifics about what that means in your case? react-query has a default behavior to cancel a fetch when the component unmounts (AFAIK), eg. the user changes to another view and the data of the previous view aren't needed anymore. I prefer to only have those fetches pending which are actually needed and seem likely to succeed, as otherwise my SPAs would just add unnecessary load on the API gateway. I specifically had such a case when the backend team was in transition to a microservice architecture, hence the timeouts. But thanks, will join the discord then after I created a repo to play around. |
|