◐ Shell
clean mode source ↗

perf(animations): Remove generic objects in favor of Maps by jessicajaniuk · Pull Request #44482 · angular/angular

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

We were using a number of generic objects as if they were maps and relying on delete to remove
properties.

Issue Number: N/A

What is the new behavior?

In order to improve performance, these generic objects have been switched to native maps.

Does this PR introduce a breaking change?

  • Yes
  • No