react-native-cacheable-images

CachedImage component for react-native

Usage no npm install needed!

<script type="module">
  import reactNativeCacheableImages from 'https://cdn.skypack.dev/react-native-cacheable-images';
</script>

README

react-native-cacheable-images

CachedImage component for react-native

This fork is TEMPORARY, orginal from react-native-cached-image

Package react-native-cached-image is outdated, it depends on a no longer supported library (react-native-fetch-blob) and uses renamed lifecycle methods (componentWillMount and componentWillReceiveProps). The problems mentioned are fixed in this library.

Installation

npm install react-native-cacheable-images --save
- or -
yarn add react-native-cacheable-images

Repo uses rn-fetch-blob to handle file system access. rn-fetch-blob requires an extra step during the installation.

View how to install rn-fetch-blob

Note

All sources belong to https://github.com/kfiroo/react-native-cached-image, view more Installation and Usage in orginal repo.