You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2021. It is now read-only.
Requirements:
Support for srcset and picture. (If it has sources as children will be a picture, if uses srcset, will use an image srcset, src tag by default)
Placeholder image
Support to specify sizes
Support for webp detection (optional) (tree shaking)
Lazy loading. On scroll threshold (Intersection Observers support)
Note: Not include the picture polyfill if is not supported, but write about it, will be up to the project.
Let's create/find an Image component to use.
Requirements:
Support for srcset and picture. (If it has sources as children will be a picture, if uses srcset, will use an image srcset, src tag by default)
Placeholder image
Support to specify sizes
Support for webp detection (optional) (tree shaking)
Lazy loading. On scroll threshold (Intersection Observers support)
Note: Not include the picture polyfill if is not supported, but write about it, will be up to the project.
References:
https://www.npmjs.com/package/react-ideal-image
https://www.npmjs.com/package/react-lazyload
https://www.npmjs.com/package/lazysizes
https://github.com/verlok/lazyload
The text was updated successfully, but these errors were encountered: