1.0.2 • Published 6 years ago

react-use-webp v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

react-webp

React hook for detecting if a browser supports webp.

Lightweight package for determining if a browser supports webp images. Particularly helpful in creating fallbacks for background images without having to download a package with a size larger than the savings a webp image can provide. Examples at https://github.com/taylor-r-miller/react-webp.

To run example clone repo, cd into examples and run yarn start

1.0.2

6 years ago

1.0.0

6 years ago

1.0.1

6 years ago

0.3.0

6 years ago