In the constructor, I declare state :
data: this.shuffle(this.newMassiv(25)) In componentWillMount , componentDidMount and render I call console.log(this.state.data) .
As you can see, in the didmount array is reset. state.data does not change anywhere.
Why is state.data reset? Tried to set value in componentWillMount - the same.
