-
related PR: #6973 Firstly, I want to describe my expected UI behaviour: Only the first query should fall out to pending component, subsequent queries depend on I am working on an admin system, now I am using I use However, some user actions need to change the query key to fetch the other page or do some keyword-related search. Before upgrading to the latest version, the I found a solution but I don't know if it is correct. Add |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
if you use suspense, please read up on how suspense works in react. We just integrate with that. With suspense, you want to use transitions or deferred values to avoid showing the fallback. Our docs link to the react docs for this. |
Beta Was this translation helpful? Give feedback.
useTransition from react exposes this. Really this is just a react question and you find all the answers in the react docs