kfiroo / react-native-cached-image

CachedImage component for react-native
MIT License
940 stars 468 forks source link

onError isn't working... #93

Open kdong007 opened 6 years ago

kdong007 commented 6 years ago

<CachedImage source={{uri: 'http://this.is.a.bad.url'}} onError={() => console.log('load error')}/>

onError isn't working...

chrusart commented 6 years ago

What version you use? Are you sure this is rendered? I just copied it to some render method, thats all, and it works, prints an error in console.