Adaptive image component
I need React component to asynchronously load images, which will adapt based on network, which will allow a user to control, which image to load.
Read the introduction.
Table of Contents
npm install react-ideal-image react-waypoint --save
Example for create-react-app (you need v2 for macros) based project
const lqip =const App =<IdealImageplaceholder=lqipsrcSet=src: image width: 3500alt="doggo"width=3500height=2095/>
Thanks goes to these people (emoji key):
💻 📖 🚇 ⚠️
This project follows the all-contributors specification. Contributions of any kind welcome!
Code - MIT
Icons - Apache License 2.0