Gourav Pokharkar
Gourav Pokharkar

Reputation: 1648

Which Rendering Engine does Angular 6 use - Renderer2 or Ivy Renderer?

I'm getting confused about rendering engine that Angular 6 and Angular 7 are using. Since, Ivy renderer is not in completed state to date (March'19). But Angular team says that they have exposed some Ivy renderer APIs in Angular 6.

Please someone help me out to clarify about the rendering engines used by Angular 6 and Angular 7.

Upvotes: 1

Views: 801

Answers (2)

Sheik Althaf
Sheik Althaf

Reputation: 1605

From Angular v4 <= v7 it uses the ViewEngine. And also the Renderer2 method for rendering.

In angular 8 ivy will be optional and in angular 9 it will be default.

Upvotes: 4

Arikael
Arikael

Reputation: 2085

By default angular 6 and 7 still use the old renderer (Renderer2) But the beta version of Ivy can be enabled

On Angular 8 you can opt-in in Ivy Preview

but to quote the last link regarding angular 8

Ivy will not be ready for all use cases. Some features such as i18n or Angular Universal will likely not have full compatibility yet in the preview. Our language service will not be functional during the Ivy preview.

Upvotes: 2

Related Questions