Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upIvy Renderer (beta) #21706
Comments
IgorMinar
added this to the
v6.0 milestone
on Jan 22, 2018
IgorMinar
assigned
mhevery
on Jan 22, 2018
angular
deleted a comment from
IgorMinar
on Jan 23, 2018
mhevery
added
comp: ivy
type: feature
labels
on Jan 24, 2018
angular
deleted a comment from
LinBoLen
on Jan 26, 2018
angular
deleted a comment from
arjunyel
on Jan 26, 2018
ocombe
referenced this issue
on Feb 6, 2018
Open
i18n: Able to use translation strings outside a template #11405
This comment has been minimized.
This comment has been minimized.
ansarizafar
commented
on Feb 8, 2018
Looking forward for an early release. |
This comment has been minimized.
This comment has been minimized.
AhsanAyaz
commented
on Feb 8, 2018
Super excited for this |
This comment has been minimized.
This comment has been minimized.
AndreaBarbasso
commented
on Feb 8, 2018
A bit of a typo here |
This comment has been minimized.
This comment has been minimized.
I want higher order components hope Component Composition will land in the 6 |
This comment has been minimized.
This comment has been minimized.
Ploppy3
commented
on Feb 8, 2018
•
I'm sorry to ask here (If you consider this spam, feel free to remove it), but does Ivy renderer aim at improving the runtime perf? The only info I found so far is the new features regarding i18n and the fact that it should be backward compatible. Can anyone point me toward info related to Ivy? Thank you. |
This comment has been minimized.
This comment has been minimized.
chaosmonster
commented
on Feb 8, 2018
@Ploppy3 follow Rob on Twitter https://twitter.com/robwormald/status/961445453391790080 it also shrinks the build size e.g. |
This comment has been minimized.
This comment has been minimized.
@avatsaev The new Even the |
This comment has been minimized.
This comment has been minimized.
chaosmonster
commented
on Feb 11, 2018
@avatsaev that is already possible if I understand you correctly https://gist.github.com/chaosmonster/f2576bbd1bc9a50282a2b3b492195b29 |
This comment has been minimized.
This comment has been minimized.
@chaosmonster The mixin pattern is not yet generally supported in AOT mode, like life-cycle hooks recognition in #19145 and more issues described in #18644. |
This comment has been minimized.
This comment has been minimized.
@chaosmaster thank you for the link, but in my opnion this looks very sloppy and hacky. The ideal would be one What im unsure about is, what decorator inheritance behavior would be. Override? Extend? Compose? |
This comment has been minimized.
This comment has been minimized.
@avatsaev Higher-Order Components is not a feature, but a code pattern:
The only thing really stop you from doing that is the AOT compiler which does only support top-level classes. The metadata inheritance (overriding) is an independent feature (#13764). |
This comment has been minimized.
This comment has been minimized.
LinBoLen
commented
on Feb 12, 2018
waiting for compiler cli support |
This comment has been minimized.
This comment has been minimized.
GuskiS
commented
on Feb 12, 2018
Is this target for v6.0.0? |
This comment has been minimized.
This comment has been minimized.
@GuskiS Will only be available behind a flag (non-default) in v6. |
This comment has been minimized.
This comment has been minimized.
tmair
commented
on Feb 13, 2018
@IgorMinar Just out of curiosity. Do you have any documentation about the design of the new Ivy Renderer that is publicy available? |
This comment has been minimized.
This comment has been minimized.
@tmair I asked Rob on Twitter: https://twitter.com/robwormald/status/961727090113396737 |
This comment has been minimized.
This comment has been minimized.
Karasuni
commented
on Feb 14, 2018
Looking forward to this! Will |
This comment has been minimized.
This comment has been minimized.
listepo-alterpost
commented
on Feb 14, 2018
This comment has been minimized.
This comment has been minimized.
mlc-mlapis
commented
on Feb 14, 2018
•
This comment has been minimized.
This comment has been minimized.
HerringtonDarkholme
commented
on Feb 18, 2018
This comment has been minimized.
This comment has been minimized.
theodorejb
commented
on Feb 18, 2018
@HerringtonDarkholme I found your blog post here: https://herringtondarkholme.github.io/2018/02/19/angular-ivy/. It was very informative - thanks! |
This comment has been minimized.
This comment has been minimized.
jan1za
commented
on Dec 28, 2018
•
Ivy looks awesome thank you. Been playing with it and instead of me finding why my vendor file was bloated by 8MB, Ivy fixed it and brought it right down to 2MB. So thank you. Just a note, it does not work with Universal. (I know Ivy is still in Beta, hence not logging an issue) If you use the universal starter here or follow the guide here. Upgrade to Angular 7.1.4 and run Enable Ivy in the tsconfig
Then run You get:
In my personal project I don't get the same error instead I get:
Remove the EnableIvy flag and everything works as it should. |
This comment has been minimized.
This comment has been minimized.
sergey-morenets
commented
on Dec 28, 2018
Hi @jan1za I tried to test Ivy compiler today with Angular 7.1.4 and I got an error. Pipe 'translate' is from @ngx-translate/core dependency. I don't use Universal. |
This comment has been minimized.
This comment has been minimized.
I'm not sure we should be doing this here, but here you go: run node_modules/.bin/ivy-ngcc first |
This comment has been minimized.
This comment has been minimized.
I wonder what's the current state of Ivy? It's been few months since https://twitter.com/stephenfluin/status/1045330203730358273, how's the verification on google apps going? |
This comment has been minimized.
This comment has been minimized.
artaommahe
commented
on Jan 15
•
@fxck you can look here |
This comment has been minimized.
This comment has been minimized.
@artaommahe Following your idea, I cloned the repo, searched for |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
SteveVanOpstal
commented
on Jan 31
30 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
SebastianPodgajny
commented
on Jan 31
It might not, but it is the best publicly available measurement, STATUS.md wasn't updated for 2 months, also Igor Minar at Angular NYC said that the current plan is optional Ivy in 8.0 and default in 9.0 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@dirkluijk As far as I know, the current version of Angular/CLI already supports Ivy. 🡒 If you want to create a new Ivy project, just add 🡒 If you want to migrate an existing project, you will have to do a few things:
Empty project comparison Comparison:
32 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@dirkluijk Thanks! Any idea what to do with the AppModule? When I remove bootstrapping of the AppModule and instead call renderComponent(AppComponent), how will the application then know about the AppModule? I get
when trying it. Note that I am migrating a current project.. I'll try creating an empty project to see how to code structuring of the AppModule is |
This comment has been minimized.
This comment has been minimized.
maxime1992
commented
on Feb 9
Some news from Stephen Fluin here: |
This comment has been minimized.
This comment has been minimized.
run in terminal |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
SebastianPodgajny
commented
on Feb 14
•
Update 27.03.2019 (8.0.0-beta.10)Only one issue in material with Ivy and 0 fixmeIvy in this repo Update 13.03.2019 (8.0.0-beta.8)Number of errors in Materal went down to 50 Update 06.03.2019Number of errors in Materal went down to 80 Update 26.02.2019looks like there is 185 errors in material when running with Ivy |
This comment has been minimized.
This comment has been minimized.
literalpie
commented
on Mar 2
Anyone interested in trying Ivy out can look at the following documentation: https://github.com/angular/angular/blob/master/aio/content/guide/ivy.md |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
vladjerca
commented
20 days ago
•
I finally managed to build one of my projects with the new I got a Ivy Project
|
This comment has been minimized.
This comment has been minimized.
mohammedzamakhan
commented
20 days ago
@vladjerca I have already done that for you here angular/angular-cli#13922 :) |
This comment has been minimized.
This comment has been minimized.
vladjerca
commented
20 days ago
•
Didn't see the issue, good to know it's being tracked. What's really funny to me, is that my existing project, that actually has a bit of logic ends up totaling ~ But with a completely new project setup, both |
This comment has been minimized.
This comment has been minimized.
mohammedzamakhan
commented
20 days ago
@vladjerca when I build projects created using v8 CLI, I didn't see the vendor.js being created. How did that create for you? |
This comment has been minimized.
This comment has been minimized.
vladjerca
commented
20 days ago
@mohammedzamakhan I have no idea. I did nothing special, really. I just created a new app with the But keep in mind I am using the latest beta packages. |
This comment has been minimized.
This comment has been minimized.
sergey-morenets
commented
19 days ago
Hi How should I provide my services if I use rendering AppComponent not bootstrapping AppModule?
The only working solution for me is to create injector explicitly
and pass it to renderComponent:
However it doesn't make sense to me as I have to reproduce all the providers that were already specified in my modules. |
IgorMinar commentedon Jan 22, 2018
•
edited by mhevery
Overview
Ivy is a new backwards-compatible Angular renderer focused on further speed improvements, size reduction, and increased flexibility.
Ivy is currently not feature complete, but can be tested via
enableIvy: true
angularCompilerOptions
flag.We currently expect Ivy to remain behind the flag until it's feature complete and battle tested at Google. In the meantime you can check out this Hello World demo.
To see status of Ivy implementation go here.
Related Issues: