mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Previously, when instantiating a component, Angular would look in the DI hierarchy for `RendererFactory2`. Any DI tree which rolls up through an application injector (that is, one created with `BrowserModule`) should be able to provide this interface. If not found, Angular would switch to the experimental `Renderer3` mechanism. This switch was designed this way, because it allowed for the creation of experimental applications where `RendererFactory2` was not included in the bundle at all. In this commit, instead of automatically falling back on `Renderer3`-style rendering, an error is raised instead if `RendererFactory2` is missing from the DI hierarchy. PR Close #46605 |
||
|---|---|---|
| .. | ||
| global | ||
| schematics | ||
| src | ||
| test | ||
| testing | ||
| BUILD.bazel | ||
| index.ts | ||
| package.json | ||
| PACKAGE.md | ||
| public_api.ts | ||