I would like to keep the previous data and using a spinner on top of the data while loading.
I know that isLoading only return true if it is hard loading. However, using isFetching will trigger spinner to appear whenever there is background fetch.
Is there any way to get the loading state when keepPreviousData is on?