1.1.3 • Published 4 years ago
expo-fast-image v1.1.3
Fast image for expo based on expo file system
expo install expo-file-systemyarn add expo-fast-imageimport ExpoFastImage from 'expo-fast-image';
<ExpoFastImage
uri='image uri' // image address
cacheKey='unique key' // could be a unque id
style={'custom style'} // your custom style object
// any supported props by Image
/>Demo Link: https://youtu.be/NmhsZxBdYKQ
Note
If you update your image (which uri maybe changed), then you need to update the cacheKey too (that's important).
Because if you dont update the cacheKey, on that time it will load the old cached image