Home > widget-integration > LoadModuleOptions > singleton
LoadModuleOptions.singleton property
When true, caches the lazy import function result to avoid re-executing the dynamic import() on subsequent calls with the same function reference. This is useful for code-split modules that should only be loaded once.
false
Signature:
singleton?: boolean;