Yeah you have to do
<If cond={...} then={() =>
...
} els={() =>
...
} />
so the `then` and `els` branches only get evaluated if needed