mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
5f21c6d627
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