Home > widget-integration > LoadModuleOptions

LoadModuleOptions interface

Options for dynamically loading modules via loadModule()

Signature:

export interface LoadModuleOptions 

Properties

Property

Modifiers

Type

Description

singleton?

boolean

(Optional) 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