Why to use Object.assign() to update functional component props change?

前端 未结 0 1138
清酒与你
清酒与你 2020-12-30 23:17

I have a list of students and I display them on the table. There are two buttons that indicate by which value should I sort the list (name or birthdate). When the button is

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