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

Decrease bundle size impact by using lottie light #33

Open
mcmxcdev opened this issue Jul 8, 2021 · 6 comments
Open

Decrease bundle size impact by using lottie light #33

mcmxcdev opened this issue Jul 8, 2021 · 6 comments
Labels
added-in-v3 Features that were implemented in `v3` but not in `v2`

Comments

@mcmxcdev
Copy link

mcmxcdev commented Jul 8, 2021

Describe the solution you'd like
Use the lottie light variant like described here: airbnb/lottie-web#1184 (comment)

@Gamote
Copy link
Owner

Gamote commented Jul 8, 2021

@mhatvan We'll have a look over this, as we need to make sure that no missing functionality will affect the current implementation.

Do you know specifics about what's left out from the light version?

@mcmxcdev
Copy link
Author

mcmxcdev commented Jul 8, 2021

You can read about it here: airbnb/lottie-web#929
Will require some testing with all different permutations of settings to really know.

A flag to use either or might also make sense, so its up to the user!

@Gamote Gamote added the enhancement New feature or request label Jul 9, 2021
@mcmxcdev
Copy link
Author

mcmxcdev commented Aug 6, 2021

Any news on this?

We currently lazy-load react-lottie to keep the first load impact smaller, but switching to light version would be even better for every user.

@Gamote Gamote added added-in-v3 Features that were implemented in `v3` but not in `v2` and removed enhancement New feature or request labels Jan 17, 2022
@Gamote Gamote self-assigned this Jan 17, 2022
@MauriceArikoglu
Copy link

Bump. Also very interesting for us. Can I maybe help?

@Gamote Gamote removed their assignment Jun 23, 2022
@kb1995
Copy link

kb1995 commented Sep 14, 2022

Any updates to this? Lottie is the biggest package in our bundle and would love to see some way to improve this

@dilan-dio4
Copy link

I manually modified this project to use just the light version.
Find it here: https://github.com/dilan-dio4/lottie-light-react

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
added-in-v3 Features that were implemented in `v3` but not in `v2`
Projects
None yet
Development

No branches or pull requests

5 participants