saleel / react-native-super-grid

Responsive Grid View for React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image Caching / Rendering

BlueDevil2k6 opened this issue · comments

Hi - I'm trying to render using either expo-fast-image or react-native-expo-cached-image and whenever that's used, nothing gets rendered. Has anyone used a library for image caching that worked with the super-grid?

I have not used these libraries, but did you try setting the keyExtractor to assign a unique key to each rendered item?

Also, did you try using FlatList directly?

Just to close the loop on this. I ended up finding and using react-native-expo-image-cache by @wcandillon for a couple of reasons 1) it worked very nicely in an Expo managed app, 2) it has progressive loading, and 3) he does a pretty good job with his tutorial videos and I think I found one where he covered this library.