Iam trying to update the state “Experience” but I didn't get updated value. please correct if my code is wrong

后端 未结 0 1980
面向向阳花
面向向阳花 2021-02-06 13:58

am trying to calculate the year of experience so I Initialized state "Experience = 0" and I initialized the current year to the "currentDt" state



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