I can't make the following stuff to work, and I don't even know if it's possible :
// Somewhere
<GatewayDest name="global" component={View} />
// Somewhere else
<GatewayDest name={targetId} component={View} />
<Gateway into={condition ? 'global': targetId}>
<Text>Hi</Text>
</Gateway>
It seems that it's not possible to determine dynamically a portal destination.
See snack on here
Is this planned or possible in another way ?