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
Loading spinners are bad, it less disruptive to show users previous data until new data is ready. Suspense is somewhat based on that idea.
Have code like this:
const{ data }=useQuery({key: ()=>['item',props.selectedItemId],query: ()=>getItemById(props.selectedItemId),})
when props.selectedItemId changes current behavior of useQuery forces me to show blank screen because data does not exist, I wish data would not be reset while isFetching is true.
The text was updated successfully, but these errors were encountered:
Loading spinners are bad, it less disruptive to show users previous data until new data is ready. Suspense is somewhat based on that idea.
Have code like this:
when props.selectedItemId changes current behavior of useQuery forces me to show blank screen because data does not exist, I wish data would not be reset while isFetching is true.
The text was updated successfully, but these errors were encountered: