How to refactor useEffect to onlick function

后端 未结 0 880
挽巷
挽巷 2020-12-01 00:19

I need to fetch when a user clicking on the submit button but I\'m absolutely don\'t know how to do that:

export default function SearchSong() {
    const [to         


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