Open
Description
Some ideas that might or might not be implemented in the future, but good to have in a list.
- Add a prop to load the image by default. (1aa87da)
- Create a generic component to lazy load anything, not only images. (49f180f)
- Allow components to listen to scroll/resize events without needing the HOC. (9833d85)
- Add debounce/throttle. (78047bd)
- Add some way to have a low-quality image placeholder that doesn't disappear when loading the image. Probably adding a wrapper element with
background-image
. (662389b) - Add optional CSS effects when loading the image. (784f610)
- Use IntersectionObserver if the browser supports it. (Use IntersectionObserver #16 → Use IntersectionObserver when it's available #6)
- Make it work with
overflow: scroll
containers (Supportoverflow: scroll
containers #17 → Added support container with overflow #28). - Create different Webpack environments for production/development (Create different Webpack environments for production/development #18).
- Hide the placeholder after the image is loaded (Hide the placeholder after the image is loaded #19).
Metadata
Metadata
Assignees
Labels
No labels