Use a prop function inside useEffect return: prop.function is not a function

后端 未结 0 555
北海茫月
北海茫月 2021-01-29 17:56

I am currently trying to build an next.js app.

So what I want to do is passing a function to a component and call it with useEffect

I have the following component

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