angular/packages/animations/browser/src/render
Kristiyan Kostadinov 513a4fe05e refactor(core): replace usages of removeChild (#57203)
These changes replace most usages of `removeChild` with `remove`. The latter has the advantage of not having to look up the `parentNode` and ensure that the child being removed actually belongs to the specific parent.

The refactor should be fairly safe since all the browsers we cover support `remove`. [Something similar was done in Components](https://github.com/angular/components/pull/23592) some time ago and there haven't been any bug reports as a result.

PR Close #57203
2024-08-07 16:46:09 +00:00
..
web_animations refactor(animations): remove deprecated matchesElement from AnimationDriver (#55479) 2024-04-23 13:06:27 -07:00
animation_driver.ts refactor(animations): remove deprecated matchesElement from AnimationDriver (#55479) 2024-04-23 13:06:27 -07:00
animation_engine_instruction.ts refactor: migrate animations to prettier formatting (#53977) 2024-01-19 20:08:57 +01:00
animation_engine_next.ts refactor(core): Ensure animations are flushed before running render hooks (#55564) 2024-04-30 15:39:56 -07:00
animation_renderer.ts refactor(core): replace usages of removeChild (#57203) 2024-08-07 16:46:09 +00:00
renderer.ts refactor(core): replace usages of removeChild (#57203) 2024-08-07 16:46:09 +00:00
shared.ts refactor: migrate animations to prettier formatting (#53977) 2024-01-19 20:08:57 +01:00
special_cased_styles.ts refactor: migrate animations to prettier formatting (#53977) 2024-01-19 20:08:57 +01:00
timeline_animation_engine.ts refactor: migrate animations to prettier formatting (#53977) 2024-01-19 20:08:57 +01:00
transition_animation_engine.ts refactor(core): Ensure animations are flushed before running render hooks (#55564) 2024-04-30 15:39:56 -07:00