Comment

Comment by jawishhameed

That's a real pro-tip! Lottie animation JSONs are better left out of the bundling and loaded dynamically.

We built dotLottie[1], a little superset encapsulation layer ontop of Lottie as an experiment/solution to make it easer to bundle multiple Lotties and any associated assets AND make distribution/CDN use simpler. There are several sites that are using it now with good success.

1. https://dotlottie.io/

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton