setState of an empty array

前端 未结 0 330
长发绾君心
长发绾君心 2020-12-23 16:55

I\'m working on a code where I have an empty array which has to be filled after a certain request returns.

I tried to setState of the array like that:

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