The asynchronous view can have children that are promises that should be resolved. A placeholder loading symbol is shown whilst the promises resolve. Once all promises resolve, the children are rendered as normal.
async function element(): Promise<React.ReactElement<any>> {
return <Text>Hey</Text>;
}
function render(): React.ReactElement<any> {
return <AsyncView>{element()}</AsyncView>;
}