angular/packages/common/src
Pawel Kozlowski 5f21c6d627 perf(common): avoid excessive DOM mutation in NgClass (#48433)
This commit represents rewrite of the NgClass directive to address
severe performance problem (excessive DOM mutation). The modified
algorithm removes all the known performance clifs and has number of
desirable properties:
- it is shorter and (arguably) easier to follow;
- drops usage of existing differs thus limiting dependencies on other
part of the code without increasing size of the directive;
- doesn't degrade any other performance metrics.

Fixes #25518

PR Close #48433
2023-01-13 10:38:54 -08:00
..
directives perf(common): avoid excessive DOM mutation in NgClass (#48433) 2023-01-13 10:38:54 -08:00
i18n docs: fix spelling (#46713) 2022-07-08 20:54:52 +00:00
location fix(common): Update Location to get a normalized URL valid in case a represented URL starts with the substring equals APP_BASE_HREF (#48489) 2023-01-12 11:45:32 -08:00
pipes docs: update date pipe default timezone injection token reference (#48274) 2022-11-29 09:40:28 -08:00
common.ts fix(common): export the IMAGE_CONFIG token (#48051) 2022-11-14 19:27:17 +00:00
common_module.ts feat(common): make the CommonModule directives standalone (#46469) 2022-06-28 12:55:25 -07:00
cookie.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
dom_adapter.ts refactor(common): remove unused setDOM (#48357) 2022-12-05 14:35:08 -08:00
dom_tokens.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
errors.ts fix(common): warn if using supported CDN but not built-in loader (#47330) 2022-10-19 15:21:51 +02:00
platform_id.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
private_export.ts docs: add description and usage notes to the NgOptimizedImage directive (#47082) 2022-08-16 17:36:54 +00:00
version.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
viewport_scroller.ts refactor(common): unused return value from attemptFocus (#44457) 2022-01-21 13:11:30 -08:00
xhr.ts fix(platform-browser): configure XhrFactory to use BrowserXhr (#41313) 2021-03-29 15:14:16 -07:00