angular-plugin-architecture icon indicating copy to clipboard operation
angular-plugin-architecture copied to clipboard

How will this change with Ivy?

Open fr0 opened this issue 5 years ago • 4 comments

Firstly, thanks for creating and sharing this. I'm going to try using it, as I've been unsuccessful with all other approaches, usually due to lack of AoT support.

Do you have any thoughts or insights on how much the solution will have to change with Angular 9 once Ivy is the default?

Thanks again!

fr0 avatar Jun 27 '19 14:06 fr0

We've tried this with Ivy enabled in 8.2 and it has not gone well. Debugging has dropped us deep in the core of SystemJS.

Are there any thoughts on moving past this road block?

waltiam avatar Jan 23 '20 21:01 waltiam

Please refer to the following issue: https://github.com/alexzuza/angular-plugin-architecture/issues/24

Ivy would be much easier to perform plugin architecture. Since Ivy introduced locality, which mean component factory logic is embedded as static property of component class. Means consumer of a given component doesn't need to know how to instantiate the component, and you don't have to rebuild the consumer if dependency's constructor signature got change.

john-gouda avatar Jan 27 '20 01:01 john-gouda

@jfgouda Could you have an example simple implement plugin archiatecture with ivy?

namnhcntt avatar Feb 14 '20 11:02 namnhcntt

I got some time to fork and migrate both workspace and builder to Angular 9. https://github.com/jfgouda/angular-plugin-architecture Thx

john-gouda avatar Feb 15 '20 17:02 john-gouda