angular/packages/platform-browser/src
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
..
browser perf(platform-browser): avoid intermediate arrays in server transition (#43145) 2021-08-17 09:22:05 -07:00
dom refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
security refactor: add override keyword to members implementing abstract declarations (#42512) 2021-07-12 13:11:17 -07:00
browser.ts fix(platform-browser): configure XhrFactory to use BrowserXhr (#41313) 2021-03-29 15:14:16 -07:00
platform-browser.externs.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
platform-browser.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
private_export.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
version.ts docs: fix package name in version.ts files in different packages (#41208) 2021-05-10 10:26:34 -04:00