Ok, I should probably edit my comment to "JSX/TSX feels so incredibly natural except for needing to use JS ternaries for conditional rendering" because seriously what were they thinking there?
<div>
{if (cond) {
<Comp1 />
} else {
<Comp2 />
}}
</div>
Or even: <div>
{switch (expr) {
| A => <CompA />
| B => <CompB />
| _ => <CompC />
}}
</div>