How to update the state in functional component using React Hooks

前端 未结 0 1985
名媛妹妹
名媛妹妹 2020-12-03 07:36

I am creating a functional React component using Hook. In my component I use axios API to fetch the data from the REST API. This is my code, however the problem is the state

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