On initial app load, it takes a noticeable amount of time to load the stats and recent short URLs. We could fill the empty space with cached results from the last query executed, and stored between app restarts. The situation is even worse when quickly switching tabs inside the app. A full reload of data might not even be needed in a set period of time (let's say 30s) and even after that limit, we could also just display cached data temporarily.
(Or we could take loading skeletons into consideration.)
On initial app load, it takes a noticeable amount of time to load the stats and recent short URLs. We could fill the empty space with cached results from the last query executed, and stored between app restarts. The situation is even worse when quickly switching tabs inside the app. A full reload of data might not even be needed in a set period of time (let's say 30s) and even after that limit, we could also just display cached data temporarily.
(Or we could take loading skeletons into consideration.)