React hooks doing an infinite fetching when getting data from child but has no problem if the parent is a class component

后端 未结 0 868
礼貌的吻别
礼貌的吻别 2021-01-27 20:46

I have a reusable SearchHeader component that has a controlled input and passes the data from the input to his parents

SearchHeader.js



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