I am using Effect hook to fetch the datas from server and these data are passed to the react table there i have used the same api call to load the next set of datas from server.
For some other folks I had a similar issue (memory leak) and my issue was that I was calling a hook inside a hook in my case useEffect