b14ac96750
Previously, when an input property was set on an `NgElement` before instantiating the underlying component, the `SimpleChange` object passed to `ngOnChanges()` would have `firstChange` set to false, even if this was the first change (as far as the component instance was concerned). This commit fixes this by ensuring `SimpleChange#firstChange` is set to true on first change, regardless if the property was set before or after instantiating the component. This alignthe behavior of Angular custom elements with that of the corresponding components when used directly (not as custom elements). Jira issue: [FW-2007](https://angular-team.atlassian.net/browse/FW-2007) Fixes #36130 PR Close #36140 |
||
---|---|---|
.. | ||
BUILD.bazel | ||
component-factory-strategy_spec.ts | ||
create-custom-element_spec.ts | ||
extract-projectable-nodes_spec.ts | ||
slots_spec.ts | ||
utils_spec.ts |