Compile a component with Angular-specific defaults
Compilation options
Promise resolving to compilation result
Use Destroy.
Clean up resources
Use GetBabel.
Get Babel instance for direct use
Babel instance
Use GetCompiler.
Optionalversion: stringUse GetComponent.
Get a component from the registry
Component name
Component namespace
Optionalversion: stringComponent version
Component if found
Use GetComponentManager.
Use GetRegistry.
Use GetResolver.
Use GetRuntimeContext.
Use GetVersion.
Get runtime version
Runtime version string
Optionalconfig: LibraryConfigurationOptionaladditionalLibraries: ExternalLibraryConfig[]Optionaloptions: { debug?: boolean }Use Initialize.
Initialize the React runtime with Angular-specific configuration
Optionalconfig: LibraryConfigurationOptional library configuration
OptionaladditionalLibraries: ExternalLibraryConfig[]Optional additional libraries to merge
Optionaloptions: { debug?: boolean }Optional options including debug flag
Promise resolving when runtime is ready
Use IsInitialized.
Check if runtime is initialized
true if initialized
Use Preload.
Eagerly start loading the React runtime in the background. Call this at app startup (e.g., in APP_INITIALIZER or after auth) so that React, ReactDOM, and Babel are already downloaded from CDN by the time the user opens an interactive component artifact.
Two-phase approach:
<link rel="preload"> hints so the browser starts
downloading the CDN scripts in parallel with other page work.initialize() which creates <script> tags and
executes them. If the preload hints already fetched the bytes, the
script load is nearly instant (served from HTTP cache).Safe to call multiple times — the underlying initialize() deduplicates. Does not block: returns immediately, initialization continues in background.
Use RegisterComponent.
Register a component in the registry
Component name
Compiled component
Component namespace
Component version
Component metadata
Transpile JSX code directly
JSX code to transpile
Optionalfilename: stringOptional filename for better error messages
Transpiled JavaScript code
Angular-specific adapter for the React runtime. Manages the integration between Angular services and the platform-agnostic React runtime.