一、减少不必要的深拷贝在开发中如何需要父子组件进行值的传递,在不改变子组件中变量值的情况下使用Prop状态变量会导致组件创建的耗时增加。例如:片段一EntryComponentstructIndex{Statestudent:StudentnewStudent("张三",20)build(){Column(){Text(${this.student.name}:${this.student.age}).onClick(()>{this.student.age++})子组件ChildComponent({student:this.student})}.height('100%').justifyContent(FlexAlign.Cen...