Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap #1

Open
Aljullu opened this issue Feb 27, 2018 · 2 comments

Comments

@Aljullu
Copy link
Owner

commented Feb 27, 2018

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. (#16#6)
  • Make it work with overflow: scroll containers (#17#28).
  • Create different Webpack environments for production/development (#18).
  • Hide the placeholder after the image is loaded (#19).

@Aljullu Aljullu self-assigned this Feb 27, 2018

@angelcustodio

This comment has been minimized.

Copy link

commented Sep 21, 2018

Is the project still alive? @Aljullu

@Aljullu

This comment has been minimized.

Copy link
Owner Author

commented Sep 21, 2018

@angelcustodio Yes, it is. But my time is limited! 🙂

Since the first version of the package was released, I have been publishing minor updates with fixes every time somebody reported a bug.

But the 'big features' from this roadmap usually take more time and I can't promise any release date. I have been experimenting with IntersectionObserver in a branch (#6), but there is still work to do.

Contributions are accepted and appreciated, tho! 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.