useEffect not triggering but the template is being rendered somehow

前端 未结 0 1858
温柔的废话
温柔的废话 2021-01-30 15:02

I am getting too many re-renders while using react-hooks. I am trying to fetch data from api by using a parameter in URL. Here\'s the code:

export default functio         


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