Reference

lazy

Creates a lazy element type that resolves its implementation on demand.

Signature

function lazy<P>(load: (): Promise<{ default: ElementType<P> }>): LazyType<P>