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

Add way to inject a custom thumbnail image component (for lazy-loading) #104

Merged
merged 2 commits into from
Dec 17, 2018

Conversation

pxpeterxu
Copy link
Contributor

Per title; we show a lot of images at a time, which would slow things down a fair bit if we loaded them upfront. Instead, we wanted to use something like react-lazyload to load them as the user scrolled them into view (similar to how Google Photos did it).

Thanks for the great library, by the way!

Below is a gif of how it looks in the examples section:
temp2

@benhowell
Copy link
Owner

Thanks @pxpeterxu. Hopefully I can get some time before the end of the month to cut a new release including this change. In the meantime it'll be available in master.

@benhowell benhowell merged commit 5b80629 into benhowell:master Dec 17, 2018
@pxpeterxu
Copy link
Contributor Author

Thanks for merging this, Ben! And again, kudos for maintaining a super-useful library. Given how popular Google Photos is these days, it makes sense having a UI everyone's familiar with

@benhowell
Copy link
Owner

Thanks @pxpeterxu, your contribution is greatly appreciated!

@benhowell
Copy link
Owner

Released: v0.5.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants