-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
I was having some issue with some images not loading and I couldn't figure it out because it seem pretty random which ones would not load.
I found the problem is that you check "this.networkAvailable" to see if you have network, but there appears to be a race condition there "this.networkAvailable" is not set to true in time since it is dependent on an asychronous call.
By setting the prop networkAvaliable={true} I was able to completely get rid of this issue.
I think you should either default that to true, as an extra call when you don't have internet won't cause much harm, or you need to fix the race condition.
You should also probably note these parameters in the Readme.
Thanks for the otherwise great package!
HonzaJiran and horppe
Metadata
Metadata
Assignees
Labels
No labels