Dispatch request for all elements of an array in react

后端 未结 0 1369
忘掉有多难
忘掉有多难 2021-02-04 07:41

I have an array of payloads. Now, I want to dispatch requests for all the elements of the array when a button is clicked. I am trying to map over the array and send all requests

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