How to use states inside helper function in React?

后端 未结 0 1699
别那么骄傲
别那么骄傲 2021-01-15 21:43

I have simple helper function for API calls, like below

const API_GET = async (params) =>
  fetch(params)
  then();

And i need to use few

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