How do you empty an array in react?

前端 未结 0 943
名媛妹妹
名媛妹妹 2021-01-04 00:41

As the question above says, how can I empty an array? I tried using useState setting the array like this setArray([]) but this actually doesn\'t no

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