@noxx/react-image-loader

A React component that preloads images via img or picture tags

Usage no npm install needed!

<script type="module">
  import noxxReactImageLoader from 'https://cdn.skypack.dev/@noxx/react-image-loader';
</script>

README

React Image Loader

Build Status codecov npm version undefined

A React component that preloads images via img or picture tags.

You can view the demo in action here.


Install

yarn add @noxx/react-image-loader
# or
npm i @noxx/react-image-loader

Usage

Refer to the example file for up-to-date usage examples.


Development

# Install all deps
yarn
# or
npm i

# Start dev server
yarn start
# or
npm start