react hook useEffect to fetch data on button click (typescript)

前端 未结 0 941
时光说笑
时光说笑 2021-02-07 04:48

I have a component and I want to fetch isbn data on button click using react hook useEffect, performing a get on the route ${basicUrl}/editorials/${isbn}

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