React-redux action is called endlessly(infinite loop)

后端 未结 0 821
醉酒成梦
醉酒成梦 2021-01-14 18:39

The react-component is re-rendering endlessly when action is called inside an useEffect function

  useEffect(() => {
    props.getApi(\'pages/websitepage/p         


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