Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

expo-fast-image

muhammadwafa1.7kISC1.1.3

an optimized cached image for expo base on expo file system

react, react-native, expo, fast-image, cached-image, cache, image

readme

Fast image for expo based on expo file system

  1. expo install expo-file-system
  2. yarn add expo-fast-image
  3. import ExpoFastImage from 'expo-fast-image';
  4. <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