Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(lottie.component) performance improvement - first I added afterV… #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat(lottie.component) performance improvement - first I added afterV… #59

wants to merge 1 commit into from

Conversation

LironHazan
Copy link

Hey Guys I really loved your wrapper to lottie (!!!) and was about to use it but since I'm required to highly think of performance before integrating anything I would really appreciate your feedback regarding the following PR, it will be great if you'll merge it, I didn't saw any contributing.md to this repro so I wan't sure you're allowing it but I had to try reaching out anyway :)

  • First I used ngAfterViewInit since we relay on a viewChild
  • Second I added a flag for runOutsideAngular so cd won't get triggered anytime events related to the animation are fired.

** I will probably upgrade to angular 8 as well on my fork, will be happy to open a new PR for you.
BR,
Liron!

…iewInit to where lottieContainer is used, added an input flag for runOutsideAngular so cd won't get triggred.
@marcjulian
Copy link
Member

Thank you for your PR. I will look in to this when I get time 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants