React Preload
A React component to preload images. It renders a passed component during the loader phase, and renders its children once the images have been successfully fetched.
Installation
npm
Usage
Prop types
Additional Details
This module also exposes ImageCache
and ImageHelper
which can be used to preload images
directly, and can be accessed via require('react-preload').ImageCache
and
require('react-preload').ImageHelper
respectively.