-
RQ with config: The component that uses query is rendered without data when the browser is offline. It means the user sees useless components (layout, labels, and actions without his data). Why the query does not suspend? See the example. In RQ devtools disable the network and click the Show component button. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
because we only suspend when the query would actually fetch, and in this case, it wouldn't. It's debatable if this behaviour is correct or not. You can set |
Beta Was this translation helpful? Give feedback.
because we only suspend when the query would actually fetch, and in this case, it wouldn't. It's debatable if this behaviour is correct or not. You can set
networkMode: 'offlineFirst'
to at least trigger one fetch, which will then suspend, then error-out (internally) and pause after the first retry.