yarn add react-native-cache-database
Cache img as base64 to Load Image fast 🚀
import { useImageCache } from "react-native-cache-database";
const { getCacheBySrc } = useImageCache();
Tests: Cache Locally, Load all cached resources **in an instant**
const mergedSourceUri = getCacheBySrc(source?.url);
...
<Image source={uri:cacheSourceUri} />
const cacheSourceUri = getCacheBySrc(source?.url);
...
render=(item =>
<Image source={uri:cacheSourceUri} />
)