I've a button and I'm calling an arrow function contentLoad on click of that button. I've two objects. One is 'obj' and other is 'content' which is a mere copy of 'obj'.
this.setState({content: obj})
When i print both of them on console. The other one i.e the copied one is null for the first click. However everything looks good after the first click.
The entire project is here
And the js code is this