I don't know the difference between the two in the event handling process in React

后端 未结 0 1882
野性不改
野性不改 2021-01-03 08:46

onRemove(id) is a function which filtering id that gets from parameter.

case 1) const namesList = names.map(name => ( {name.text}));

case 2) const name

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