What is the use of functional syntax of setState in react functional components?

前端 未结 0 1940
温柔的废话
温柔的废话 2020-12-13 23:21

we are talking about functional components having useState

lets say

const [age, setAge] = useState(0)

now let us say while upd

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