React useState hook - update state of a object

前端 未结 0 1986
眼角桃花
眼角桃花 2021-01-01 17:32

I have a checklist object state

const [checkList, setCheckList] = useState({checkA, checkB .. 100 checks})

How to update all states to e.targ

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