How can I import external javascript file so that the if statement email validation works with useState?

前端 未结 0 1356
孤独总比滥情好
孤独总比滥情好 2021-02-15 21:21

if I clean my code by importing validation that is currently included in my function, would that still work with useState inside of that file?.

Also is that a sufficient

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