New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: IVY ViewChild does not work when defined in base class #33292
Comments
Do you have decorator (e.g. |
No i dont have https://github.com/kukjevov/ng-universal-demo/blob/ivy-error/app/pages/garden/base.ts |
Related thread #30080 (comment) |
@kukjevov the reason why I brought up |
Oh thx @dannyskoog i tried it and it is working :). But still if it is final state, this is breaking change that should be mentioned, but as workaround it is working :). |
@kukjevov glad to hear it's working for you. There are a set of code migrations for Ivy which are required - you can see that in the |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
馃悶 bug report
Affected Package
@angular/core
Is this a regression?
Definitely yes, it is working without IVY.
Description
When you define
ViewChild
(probably same withViewChildren
, maybe even withContentChild
) in parent base class, this property will never be set by Angular.馃敩 Minimal Reproduction
馃敟 Exception or Error
No error just missing value of property with
ViewChild
馃實 Your Environment
Angular Version:
Angular 9-next.12
Anything else relevant?
Windows: 10.0.17763
Node: 11.6.0
NPM: 6.9.0
The text was updated successfully, but these errors were encountered: