How to stop memory leak in useEffect hook react

后端 未结 3 1742
孤城傲影
孤城傲影 2021-02-04 05:46

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.

3条回答
  •  猫巷女王i
    2021-02-04 06:23

    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

提交回复
热议问题