Sign in
Log inSign up
Dinko Marinac

23 likes

·

1.6K reads

3 comments

Ivan Štajcer
Ivan Štajcer
Apr 29, 2024

Nice article :]

Have some questions:

  • Does Lottie.network cache the lotties?
  • What is the performance difference when using animate package or canvas to build your animations vs lotties?
  • Would having a lot of Lotties slow down my app?
  • Would you recommend using Lottie.network or load the Lotties locally?
1
·
·1 reply
Dinko Marinac
Dinko Marinac
Author
·Apr 29, 2024

Thank you Ivan!

To answer your questions:

  • Yes, Lottie caches your animations into RAM
  • I never measured the difference, but Lottie is designed for a different use case. The main use case would be complex animations that don't require interactive behaviour. It also requires an Animation designer to design the animation in Adobe After Effects and export it via BodyMovin plugin.
  • Depends on the size and number of animations, but generally not really
  • I prefer to have them locally because it loads faster and you can also control the loading manually like in this StackoverFlow answer.
1
·