React.useState() hook doesn't reflect new value

前端 未结 0 926
别跟我提以往
别跟我提以往 2020-12-13 07:30

QUESTION: Why my setContact() function doesn\'t work?

My hook declaration:

const [contact, setContact] = useState({
fName: ""         


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