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 |
||
---|---|---|
.. | ||
component-factory-strategy.ts | ||
create-custom-element.ts | ||
element-strategy.ts | ||
extract-projectable-nodes.ts | ||
utils.ts | ||
version.ts |