in test.js [633:638]
handleClick() { this.setState(function(prevState) { return {flag: !prevState.flag}; }); this.props.parentCallback(); }