AAO-React-Native
AAO-React-Native copied to clipboard
Hours not rendering on view open
To reproduce:
- Reset everything
- Force quit app
- Open app
- Go to Building Hours
- List is empty
The network request is not fired off until the timer rolls over, it seems.
(PTR doesn't work.)
I’ve noticed this intermittently. I would say it was a visual blip and the hours loaded after a second on my device.
But I think this is a symptom of our larger caching impl
It's not from caching
Caching always returns some data
I just had this happen to me this morning.
I've noticed a few of our listviews have logic that very briefly shows "list is empty" logic or text before the actual view loads.
I can no longer reproduce this on my device; should we close?
I think this is still happening. A fresh install will show "no hours" as the loading state until we've fetched. It's accurate but not ideal.
I'd like to think that we can close this now - @drewvolz thoughts?
I think we can close it