Files
Andrew Kushnir e3d6e97050 docs: deprecate ViewEngine-based JIT Compiler symbols (#43710)
DEPRECATION:

In ViewEngine, [JIT compilation](https://angular.io/guide/glossary#jit) required special providers (like `Compiler`, `CompilerFactory`, etc) to be injected in the app and corresponding methods to be invoked. With Ivy, JIT compilation takes place implicitly if the Component, NgModule, etc have not already been [AOT compiled](https://angular.io/guide/glossary#aot). Those special providers were made available in Ivy for backwards-compatibility with ViewEngine to make the transition to Ivy smoother. Since ViewEngine is deprecated and will soon be removed, those symbols are now deprecated as well:

- `ModuleWithComponentFactories`
- `Compiler`
- `CompilerFactory`
- `JitCompilerFactory`
- `NgModuleFactory`

Important note: this deprecation doesn't affect JIT mode in Ivy (JIT remains available with Ivy).

PR Close #43710
2021-10-05 18:51:55 -07:00

989 B

API Report File for "@angular/platform-browser-dynamic"

Do not edit this file. It is a report generated by API Extractor.


import { Compiler } from '@angular/core';
import { CompilerFactory } from '@angular/core';
import { CompilerOptions } from '@angular/core';
import { PlatformRef } from '@angular/core';
import { Provider } from '@angular/core';
import { StaticProvider } from '@angular/core';
import { Version } from '@angular/core';

// @public @deprecated (undocumented)
export class JitCompilerFactory implements CompilerFactory {
    // (undocumented)
    createCompiler(options?: CompilerOptions[]): Compiler;
}

// @public (undocumented)
export const platformBrowserDynamic: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;

// @public (undocumented)
export const RESOURCE_CACHE_PROVIDER: Provider[];

// @public (undocumented)
export const VERSION: Version;

// (No @packageDocumentation comment for this package)