Skip to content

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

Open
LironHazan wants to merge 1 commit intofivethree-team:masterfrom
LironHazan:performance-driven-flag
Open

feat(lottie.component) performance improvement - first I added afterV…#59
LironHazan wants to merge 1 commit intofivethree-team:masterfrom
LironHazan:performance-driven-flag

Conversation

@LironHazan
Copy link
Copy Markdown

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
Copy Markdown
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