useEffect not triggering on page load

后端 未结 0 500
小蘑菇
小蘑菇 2020-12-19 13:40

Im trying to run a fetch call on initial load using a useEffect in react. I\'m not sure why but the useEffect isn\'t running. Here is my code:

export const Pr         


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