Technically, you should be able to write something uniquely terrible like this ;)
return (
<div>
{(() => {
const barStuff = bar(stuff);
return foo(barStuff);
})()}
</div>
)