Removing elements from array by clicking on them in React

后端 未结 0 1547
北荒
北荒 2020-11-22 08:01

I have an array of messages, that are rendered into react components with array.map and key=index (in array). The array is saved to a state. I would like the messages to clo

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