Skip to content

Repository files navigation

React smart img

Screen.Recording.2024-08-12.at.11.41.32.AM.mov

Demonstrates:

Gotcha

At time of writing, a bug in Firefox prevents lazy loading unless the loading attribute is set before the src attribute!

Setup

pnpm install

pnpm dev

Live example

https://stellular-taiyaki-fc3266.netlify.app/

About

Preloaded and lazy loaded images demonstrator

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages