react-infinite-scroll-component icon indicating copy to clipboard operation
react-infinite-scroll-component copied to clipboard

show loader when the component waits for the first load

Open sanjain-progress opened this issue 3 years ago • 1 comments

loader prop not rendered at first load.

I am looking for a way, where I can show the loader when the component waits for the first load of data. As the API takes some time to respond, I want to show the loader in the first load. It is working for the second set of data, not the first one.

Is there any way to achieve the same?

Thanks

sanjain-progress avatar May 18 '22 08:05 sanjain-progress

Please watch this video for this library https://youtu.be/c0nKjMnDfG4

subu873 avatar May 30 '22 11:05 subu873