How to set value of useState variable without passing reference

后端 未结 0 1519
醉酒成梦
醉酒成梦 2020-12-03 04:24

I have users and selectedUser as useState.

let users=[{"firstName":"John", "lastName":"Doe"}         


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