ReactJS: Warning: setState(…): Cannot update during an existing state transition
I am trying to refactor the following code from my render view: <Button href=”#” active={!this.state.singleJourney} onClick={this.handleButtonChange.bind(this,false)} >Retour</Button> to a version where the bind is within the constructor. The reason for that is that bind in the render view will give me performance issues, especially on low end mobile phones. I have created the following code, … Read more