I want to refresh the view and output the most newest array in the render. What is the best way to fix that, since the console.log will output most updated array, but in the jsx nothing is changed.
you are currently rendering this.state.cardArray
and not this.state.newArray
, i’d start with that…