title: “react-infinite-scroll-component” Stopped working after one call (loadMore only gets called once)
body: <p>I use the react-infinite-scroll-component library for pagination,but even though hasMore is true, loadMore is called once.</p>
  <pre><code>     &lt;InfiniteScroll
        dataLength={100}
        pullDownToRefreshThreshold={50}
        next={loadMoreConversation}
        scrollableTarget=&quot;scrollableDiv&quot;
        hasMore={true}
        loader={&lt;h4&gt;Loading...&lt;/h4&gt;}
      &gt;
        &lt;ChatItemList
          chatItems={chatItems}
          isInDeleteMode={deleteActive}
          onBottomDrawerHandler={onBottomDrawerHandler}
        /&gt;
      &lt;/InfiniteScroll&gt;
  </code></pre>
  <p>Please help me with this, What am I doing wrong?</p>