React - calling the same function from separate onSubmit and onClick events

前端 未结 0 1931
名媛妹妹
名媛妹妹 2020-12-03 05:13

I am having an issue with calling an async function in React to an outside API where I\'m looking to call the function from two separate events, an onSubmit of a form, and a

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