React JS - How to prevent double-submit and trigger search from invoking form

前端 未结 0 1789
醉话见心
醉话见心 2021-02-07 21:41

I\'m working on a React app which I\'ve realized is allowing double-submits.

To prevent that, I changed the code to not be asynchronous.

But this means when return

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