Use of prevState to change value in array of objects does not return expected value

后端 未结 0 429
情深已故
情深已故 2021-01-16 04:46

I am using the following method to try to change the value of task.isComplete to !task.isComplete onClick.

```
handleComplete = (event) => {
event.preventD         


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