react-native-expo-image-cache
react-native-expo-image-cache copied to clipboard
How to use it?
I don't know how to use it at all.
Me, too.
I would especially be interested if it is possible to preload local images loaded with require('path')
?
Because I would like to resolve this problem, I have.
Yeah, the docs aren't that useful here. I assume you make the image, then next time just check if it exists in the cachemanager and otherwise just render it yourself? Either way, really surprised there isn't a super simple walk through.
Hey all, there's actually no walk-through needed. You can use it just like the vanilla Image component.
Hey all, there's actually no walk-through needed. You can use it just like the vanilla Image component.
nope, it doesnt work like that, instead of using source, use uri
example: <Image uri={imageURL}>
Hey all, there's actually no walk-through needed. You can use it just like the vanilla Image component.
nope, it doesnt work like that, instead of using source, use uri example:
<Image uri={imageURL}>
Yup, you're right, my apologies. I believe it's the preview that takes in a {{ uri: '' }}
, but I haven't seen it in a while.