It’s not the most pretty syntax, but it’s wayyy better than React’s terrible (expression ? … : …) or (expression && …)
My point is this is not a syntax decision that React made, but svelte's syntax was (as far as I can tell) a decision.
Nothing preventing them from making an <If condition={…}>…<Else>… component