React auto generate state from form name value pairs from event.target

后端 未结 0 1324
天命终不由人
天命终不由人 2020-12-18 19:38

Is there a way to generate the state values from a form automatically. Say I have a form with 100000 input all have random names so not like name_1 name_2 or so. Names are n

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