how to impose a conditional hide or show property in react code example
Example: react hide tag conditionally
{ this.state.errorMessage &&
<h3 className="error"> { this.state.errorMessage } </h3> }
{ this.state.errorMessage &&
<h3 className="error"> { this.state.errorMessage } </h3> }