angular/packages/core/test/render3/instructions
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
..
mock_renderer_factory.ts refactor(core): replace usages of removeChild (#57203) 2024-08-07 16:46:09 +00:00
shared_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00
styling_spec.ts refactor: migrate core to prettier formatting (#55488) 2024-04-29 09:49:19 -07:00