Add static: false to view queries
ProprietaryAdds static: false to @ViewChild and @ContentChild decorators that don't have the static property. Angular 8 requires an explicit static flag for view query decorators. Using static: false preserves the Angular 7 default behavior (queries resolved after change detection).
org. openrewrite. angular. migration. add-static-false-to-view-queriesmod run . --recipe= org. openrewrite. angular. migration. add-static-false-to-view-queriesInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.