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:
setState