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

Need full redux example

Open geminiyellow opened this issue 9 years ago • 1 comments

Hi @garetht ,

I'm trying to use the example posted on #135 with redux. and i checked #157, #158 use #135 's code without redux is work well, but when I put elements: [], isInfiniteLoading: false into redux's store. the onInfiniteLoad will fire everytime when i scroll the page.

i think that is because when i change the isInfiniteLoading in redux store, the component will rerender, then onInfiniteLoad will fired again.

can you help me?

geminiyellow avatar May 11 '16 12:05 geminiyellow

I had very similar issue with spinner not getting hidden. I have dealt with that problem by setting loadingSpinnerDelegate={isLoadingInProgress && <Spinner />}

dobryanskyy avatar Aug 23 '16 11:08 dobryanskyy