10. 1 Caching images #

Created Sat Dec 30, 2023 at 1:55 PM

We can save strings in AsyncStorage fine.

But what about images or assets? How do we store them for caching?


It’s not possible with AsyncStorage, since images and assets are binary data, and are usually large in size.

For image caching, there are libraries. The usual pattern here is that the library provide a near identical replacement for RN core image, This way the library intercepts, caches and presents fetched images.