angular/packages/core/test/render3
Doug Parker d24ce21c45 fix(core): remove side effects from ɵɵNgOnChangesFeature() (#35769) (#35846)
`ɵɵNgOnChangesFeature()` would set `ngInherit`, which is a side effect and also not necessary. This was pulled out to module scope so the function itself can be pure. Since it only curries another function, the call is entirely unnecessary. Updated the compiler to only generate a reference to this function, rather than a call to it, and removed the extra curry indirection.

PR Close #35769

(cherry picked from commit 9cf85d2177)

PR Close #35846
2020-03-06 17:30:47 -05:00
..
instructions fix(core): remove support for Map/Set in [class]/[style] bindings (#35392) 2020-02-14 11:14:44 -08:00
ivy perf(ivy): remove unused argument in hostBindings function (#34969) 2020-01-27 12:49:36 -08:00
jit fix(core): require 'static' flag on queries in typings (#30639) 2019-05-24 16:55:00 -04:00
perf build: no longer run tslint from within gulp task (#35800) 2020-03-03 09:20:49 -08:00
styling_next feat(ivy): Change static priority resolution to be same level as directive it belongs to (#34938) 2020-01-29 15:41:48 -08:00
util refactor(ivy): Delete all styling code. (Part of next SHA) (#34616) 2020-01-24 14:04:39 -08:00
basic_perf.ts refactor(core): rename ngFactoryDef to ɵfac (#33116) 2019-10-14 20:27:25 +00:00
BUILD.bazel build: derive ts_library dep from jasmine_node_test boostrap label if it ends in _es5 (#34736) 2020-01-15 14:58:09 -05:00
change_detection_spec.ts refactor(core): rename ngFactoryDef to ɵfac (#33116) 2019-10-14 20:27:25 +00:00
common_with_def.ts fix(core): remove side effects from ɵɵNgOnChangesFeature() (#35769) (#35846) 2020-03-06 17:30:47 -05:00
component_ref_spec.ts refactor(ivy): Switch styling to new reconcile algorithm (#34616) 2020-01-24 14:05:05 -08:00
component_spec.ts refactor(core): rename ngInjectableDef to ɵprov (#33151) 2019-10-16 16:36:19 -04:00
control_flow_spec.ts refactor(ivy): rename tView.firstTemplatePass to tView.firstCreatePass (#31270) 2019-11-04 21:39:23 +00:00
di_spec.ts refactor(ivy): change styling to use programmatic API on updates (#34804) 2020-01-24 14:05:05 -08:00
domino.d.ts feat(core): Moving Renderer3 into @angular/core (#20855) 2017-12-21 21:40:58 -08:00
global_utils_spec.ts refactor(ivy): remove markDirty from global utilities (#34453) 2020-01-30 11:30:33 -08:00
i18n_spec.ts fix(core): better handing of ICUs outside of i18n blocks (#35347) 2020-02-18 12:43:45 -08:00
imported_renderer2.ts refactor: Move dom_adapter.ts to @angular/common (#32154) 2019-08-29 21:51:56 -07:00
instructions_spec.ts refactor(ivy): Switch styling to new reconcile algorithm (#34616) 2020-01-24 14:05:05 -08:00
integration_spec.ts refactor(ivy): delete ɵɵallocHostVars instruction (#34708) 2020-01-24 14:04:38 -08:00
jit_environment_spec.ts refactor(ivy): include generic type for ModuleWithProviders in .d.ts files (#34235) (#34340) 2019-12-11 08:48:11 -08:00
lifecycle_spec.ts refactor(core): rename ngFactoryDef to ɵfac (#33116) 2019-10-14 20:27:25 +00:00
listeners_spec.ts perf(ivy): remove unused argument in hostBindings function (#34969) 2020-01-27 12:49:36 -08:00
load_domino.ts build: add a before-all-other bootstrap script that patches require (#34736) 2020-01-15 14:58:09 -05:00
metadata_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
node_selector_matcher_spec.ts fix(ivy): add attributes and classes to host elements based on selector (#34481) 2020-02-18 17:18:13 -08:00
outputs_spec.ts refactor(core): rename ngFactoryDef to ɵfac (#33116) 2019-10-14 20:27:25 +00:00
perfCounter_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
pipe_spec.ts fix(ivy): error in AOT when pipe inherits constructor from injectable that uses DI (#35468) 2020-02-21 12:37:09 -08:00
providers_spec.ts refactor(core): rename ngInjectableDef to ɵprov (#33151) 2019-10-16 16:36:19 -04:00
pure_function_spec.ts refactor(core): rename ngFactoryDef to ɵfac (#33116) 2019-10-14 20:27:25 +00:00
query_spec.ts fix(ivy): queries should match elements inside ng-container with the descendants: false option (#35384) 2020-02-18 17:17:46 -08:00
render_util.ts refactor(ivy): Explicitly pass in TView (#35069) 2020-02-04 12:56:48 -08:00
renderer_factory_spec.ts refactor(core): rename ngFactoryDef to ɵfac (#33116) 2019-10-14 20:27:25 +00:00
testing_spec.ts refactor(core): remove withBody from public testing API (#25171) 2018-07-31 15:09:32 -07:00
view_container_ref_spec.ts perf(ivy): move local references into consts array (#33129) 2019-11-04 16:30:53 +00:00
view_utils_spec.ts fix(ivy): Run ChangeDetection on transplanted views (#33644) 2019-11-12 13:53:54 -08:00