Cacheable Image Gallery App

This project was created with Expo init to create the skeleton of the structure.

Libraries & Packages

these libraries and packages was used to develop this app;

Also, I used prettier plugin for formatting my code.

Installation

  • yarn install
  • npm install

Run the App

  • expo start or npm start

Testing

I added some console.log() for you to test caching mechanism easily.

  • When you swipe right to see another image you will see this kind of message that indicates the image is cached if it is not in the cache

1

  • If you swipe left and right again to see images, it will render from cache instead of downloading again. So you will see this console log in the terminal;

2

GitHub