I guess that stuff that goes into a react tag must be a react tag or a string; a function that returns a tag or string; a collection of tag or string or functions that retur
I usually do ternary if statements if there's not much logic or cause for re-use:
return ( <div> {doSomething ? something : null} Something else </div> );