Questions tagged [angular-ivy]

Ivy is the code name for Angular's next-generation compilation and rendering pipeline. Use this tag for Angular questions which are specific to only the rendering engine.

Ivy is the code name for Angular's next-generation compilation and rendering pipeline. With the version 9 release of Angular, the new compiler and runtime instructions are used by default instead of the older compiler and runtime, known as View Engine.

213 questions
0
votes
0 answers

Angular View doesn't updated on iOS

I'm currently developing a Ionic App. On one Page i have a Google Map and want to show a Button when the Map is ready, so i introduced a variable, that is set to true when the Google Maps onReady is called. This works fine for Android, but on iOS it…
0
votes
1 answer

How to create Angular 9 project with IVY?

How to create Angular 9 project with IVY? I tried the following: ng new sample9prjivy --enable-ivy My environment: Angular CLI: 9.0.2 Node: 12.16.0 OS: win32 x64 Angular: ... Ivy Workspace: Package and Version @angular-devkit/architect 0.900.2…
L. Kvri
  • 1,456
  • 4
  • 23
  • 41
0
votes
1 answer

Migration fails from angular 8 to 9 - Missing @Injectable and incomplete provider definition migration step

When trying to upgrade my angular project from 8 to 9 I am getting the following error: Debug Failure. Did not expect JSDocNamepathType to have an Identifier in its trivia I don't know what this error means and where to look to solve this error.…
BigBawss
  • 85
  • 12
0
votes
0 answers

Component in Angular 8 with Ivy does not render

I have been sifting through various articles over the last couple of hours and I cannot figure out why Angular 8 with Ivy is throwing me a curveball. Consider the following directory: Media-library will be a component I would like to render on the…
JadedEric
  • 1,943
  • 2
  • 26
  • 49
0
votes
1 answer

Trigger change detection in Angular IVY application

Before IVY, we could trigger change detection like this, based on this awesome SO answer: ng.probe(getAllAngularRootElements()[0]).injector.get(ng.coreTokens.ApplicationRef).tick() The question now is, how do we achieve this in Ivy? When running in…
DauleDK
  • 3,313
  • 11
  • 55
  • 98
0
votes
0 answers

'dialog' is not a known element in Angular 9 with Ivy

After upgrading to Angular RC.3 and switching to Ivy in a project I get the following error: Error: dialog is not a known element: 1. If dialog is an Angular component, then verify that it is part of this module. 2. To allow any element add…
lampshade
  • 2,470
  • 3
  • 36
  • 74
0
votes
2 answers

How to lazy load an application by route change

My business request is instead of keeping multiple modules with single application, need to create multiple small applications which can be assigned small team and it should be maintained as separately. so it will run as standalone. Again, the all…
3gwebtrain
  • 14,640
  • 25
  • 121
  • 247
0
votes
1 answer

IVY Error while compiling Angular v8 project with Kendo

I updated my project Angular version from v7 to v8. Kendo libraries are used in my project. When I enabled Ivy for compilation, I am getting following error. package.json { "name": "portal", "version": "2.0.0", "author": "XXXx", …
khush
  • 2,702
  • 2
  • 16
  • 35
0
votes
1 answer

Angular Inject parameterized provider

I have a service like this @Injectable() export class MyService { constructor(private store: Store, @Optional() type: string){} static forType(type: string) { return { provide: MyService, deps: [Store], useFactory: factoryFn.bind(type) } …
Bene
  • 874
  • 1
  • 10
  • 15
0
votes
1 answer

What is the purpose of Angular rendering engine?

Lately, I've heard a lot about Angular's new rendering engine - Ivy. I familiar with the term 'Rendering Engine' in context of Browsers and Photoshop. Both of those rendering engines are responsible for 'drawing' the image on the screen. But, I…
altgov3en
  • 1,100
  • 2
  • 18
  • 33
0
votes
1 answer

Compiling using Ivy results in ERROR in Cannot combine @Input decorators with query decorators

I am trying out the new Ivy feature in Angular 8 but when compiling the solution I get the error: ERROR in Cannot combine @Input decorators with query decorators I am using the @ViewChild and @ViewChildren in two places. I commented them out but I…
doorman
  • 15,707
  • 22
  • 80
  • 145
0
votes
1 answer

Angular ivy patching life-cycle hook doesn't work

I have a function that takes a component instance and overrides the ngOnDestroy hook: export function patch(instance) { instance['ngOnDestroy'] = function() { console.log('ngOnDestroy'); } } And in the component: ngOnInit() { …
undefined
  • 6,366
  • 12
  • 46
  • 90
0
votes
1 answer

Angular with Ivy + webpack - bundles larger than before

I've upgraded to Angular 8.0 while opting in to "Ivy". Everything is compiling OK but results have been disappointing in terms of bundle sizes. Actually, my vendor bundle with Angular has increased in size vs ng7. Not configured right? I'm using…
vidalsasoon
  • 4,365
  • 1
  • 32
  • 40
0
votes
1 answer

How can I bootstrap an angular app that has routing with ivy?

I'm trying to enable the new ivy bootstrap for my Angular app. in main.ts I replaced platformBrowserDynamic().bootstrapModule(AppModule); with import { enableProdMode, ɵrenderComponent as renderComponent, Injector, INJECTOR } from…
Khaled Osman
  • 1,251
  • 12
  • 17
0
votes
1 answer

Will Angulars IVY Compiler support injecting classes from external packages?

On our team we build lots of universal packages (No angular dependency). The classes in these packages are decorated with our own @injectable decorator and we have TS emitting metadata for types. "experimentalDecorators": true In Angular 7 apps we…
CompareTheMooCat
  • 1,047
  • 2
  • 10
  • 14
1 2 3
14
15