Usage
dynamicImport wraps React.lazy-style loading for route segments, tabs, and heavy widgets. It trades a loading flash for smaller initial bundles—critical in dispatch where supervisor and analytics modules can dominate bundle size if eagerly imported.
LoadingIndicator, minimal skeleton). Error UI should offer retry and report through the observability pipeline.
Lazy component resolver, suspense boundary host (per app patterns), optional onError hook into logging.
formatMessage; developer details go to logs, not modals, unless internal-only tools.onError to the error pipeline—silent failures in lazy chunks are hard to diagnose in production.onError without reporting—users need either recovery or a tracked incident.