I'm using angular animation on a list component, a slide-in-out animation. It works fine when the list is short, but when I have more then 50 items on the list, the animation is laggy. What is the cause of that? how can it be solved?
I found the source to the performance issue.
Added changeDetection: ChangeDetectionStrategy.OnPush to the root component, now everything is fast as it used to be, I hope that new issues won't be rising now :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With