Is there a better way to write this ternary expression in this snippet of JSX?
<Form ... error={this.props.errorMessage ? true : false}>
You can shorten it slightly by:
<Form ... error={!!this.props.errorMessage}>
!!
will turn a value into true
or false
depending on whether that value is truthy or falsy.
You can just double negate errorMessage prop:
<Form ... error={!!this.props.errorMessage}>