Async function for that resolves to an element.
Optional
else?: ElementChildrenElement to show until the promise resolves.
Optional
onError handler which is executed if the promise is rejected.
<Lazy else='loading...'>{() => import('./my-component').then(m => <m.MyComponent/>)}</Lazy>
Use this component for lazy importing other components.