Using React State, how can I swap items in an array to an item in another array?

后端 未结 0 1076
傲寒
傲寒 2020-12-17 19:27

here is an example of my code in which for the swap I made a cut function.

this works fine, and deletes the object in the array + stores it in "store"

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