-
Notifications
You must be signed in to change notification settings - Fork 145
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fork Idea - Infinite scrolling #25
Comments
Hi @dcworldwide, and thanks! There's already an example of react-masonry-mixin and infinite scroll here:
It's using a fork of react-infinite-scroll :-) |
Though I see now that this is using the old |
Something like in the fashion of: <Masonry {...}>
<InfiniteScroll {...}>
{elements}
</InfiniteScroll>
</Masonry> |
@eiriklv Very neat! I'm going to spend some time tomorrow getting this working. Thanks again! |
@dcworldwide No worries! Have fun :-) |
@dcworldwide could you be so kind and share your approach ? I am trying to do same thing (using react-mysonry-component with react-infinite-scroll) |
Hey @bfic @eiriklv's approach above works well. I had no issue getting it working, but in the end, I decided not to use react-inifinite-scroll but instead used https://github.com/joshwnj/react-visibility-sensor. My choice was largely because I didn't feel comfortable using a fork, but that is just a preference. Either works well. |
Thanks @dcworldwide, exactly what I was looking for. |
HI @eiriklv, thanks for the great project. 馃憤 I have a general question. I need to extend your work to add infinite scrolling. My plan is to fork your work and make my sub-project available to others. I'm pretty new to React and Masonry, so i was wondering if you had any thoughts on how you would solve this problem? Furthermore, are there any infinite scrolling libs that you know of which would be a good fit for integrating with your work? thanks
The text was updated successfully, but these errors were encountered: