Why we are making copy of reference types in react before we mutate them?

后端 未结 0 1590
栀梦
栀梦 2020-12-30 15:19

I am new in react world. I have this example code here where with the deletePersonHandler method i am deleting some objects from the array.

class         


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