angular/packages/platform-browser
Kristiyan Kostadinov 7e71370fe6 perf(platform-browser): avoid intermediate arrays in server transition (#43145)
The server transition initializer looks for some `style` tags and clears them based on their `ng-transition` ID. The way we currently have the logic creates a couple of intermediate arrays just so we can call `forEach` at the end.

These changes use a regular `for` loop with an `if` statement instead. This isn't a _massive_ performance improvement, but the logic does run during app initialization which is performance-sensitive and it's an easy change to make on our end.

PR Close #43145
2021-08-17 09:22:05 -07:00
..
animations refactor(platform-browser): ensure compatibility with noImplicitOverride (#42512) 2021-07-12 13:11:15 -07:00
src perf(platform-browser): avoid intermediate arrays in server transition (#43145) 2021-08-17 09:22:05 -07:00
test refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
testing refactor(platform-browser): remove Intl references (#40883) 2021-02-17 17:04:15 -08:00
BUILD.bazel build: use api-golden tool from dev-infra for testing public API (#42688) 2021-06-30 11:43:48 -07:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json feat(core): support TypeScript 4.3 (#42022) 2021-06-04 11:17:09 -07:00
PACKAGE.md docs: add platform to glossary (#30731) 2019-06-12 11:46:25 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00