And you can inline if-statements with an IIFE when you need a little more space:
{(() => {
if (cond1 && cond2)
return <div>foo</div>
else
...
})()}
Though it makes GitHub think it's a Clojure file.