API and Development
dynamicImport from @prepared911/ui-app-components returns a component that wraps React.lazy output with Suspense (LoadingBoundary by default) and ErrorBoundary. Use it for route-level or heavy panels instead of manual lazy + boundary wiring each time.
| Option | Description |
|---|---|
importFn | () => import("./Module") with default export. |
onError | Required for ErrorBoundary reporting. |
LoadingComponent | Replace default LoadingBoundary. |
ErrorFallback | Custom error UI component. |
On this page