useEffect call different API onClick

后端 未结 0 825
旧时难觅i
旧时难觅i 2021-02-01 03:19

I am working with useEffect and want to figure out how to call a different API when an onClick event happens. When my page loads the following is run:

useEffect((         


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