Using useEffect() and fetching twice

后端 未结 0 1315
误落风尘
误落风尘 2020-12-29 16:41

I am using React Hooks with UseEffect but when I try to log the response, the array that I am getting is logging twice. As you see I am using the []

相关标签:
回答
  • 消灭零回复
提交回复
热议问题