avoid mutating props in child

后端 未结 0 490
孤城傲影
孤城傲影 2020-12-29 17:51

I have code like this: https://codesandbox.io/s/peaceful-bogdan-h95yp

It works how i expected (field A, B have same value even if i change something), but dont know h

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