I am trying to render boolean value inside JSX, however React is evaluating it as expression and isn\'t returning anything after the component is returned.
Any worka
Boolean Value: { ipsumText.toString() }
UPD: or
Boolean Value: { String(ipsumText) }
or
Boolean Value: { '' + ipsumText }
or
{`Boolean Value: ${ipsumText}`}
or
Boolean Value: { JSON.stringify(ipsumText) }
I prefer the second option. Universal, fast, works for all primitive types: Boolean( smth ), Number( smth ).