caseywebdev / react-list

:scroll: A versatile infinite scroll React component.
https://caseywebdev.github.io/react-list
MIT License
1.96k stars 176 forks source link

How can I show a custom spinner while loading a new chunk of items to display through AJAX? #230

Open tonix-tuft opened 5 years ago

tonix-tuft commented 5 years ago

Hello,

is there a way to show a loading spinner using this component while loading data through AJAX? Also, where I should I place the code which fires the actual AJAX call while the user is scrolling and the scroll has reached a threshold instructing the component to load more items?

Thank you!

vrg-success commented 5 years ago

Where is author?!