LottieFiles / dotlottie-web

Official LottieFiles player for rendering Lottie and dotLottie animations in the web. Supports React, Vue, Svelte, SolidJS and Web Components.
https://developers.lottiefiles.com/docs/dotlottie-player/
MIT License
191 stars 11 forks source link

fix(react): components lifecycle management in strict mode #408

Closed theashraf closed 4 hours ago

theashraf commented 11 hours ago

Description

Type of change

Checklist

changeset-bot[bot] commented 11 hours ago

🦋 Changeset detected

Latest commit: 5fcc3744baf0dedcd13ebf9779ad469eaa03fdb4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------------------------- | ----- | | @lottiefiles/dotlottie-react | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 8 hours ago

Coverage Report for @lottiefiles/dotlottie-web (packages/web)

Status Category Percentage Covered / Total
🟢 Lines 52.94% (🎯 30%) 558 / 1054
🟢 Statements 51.64% (🎯 30%) 582 / 1127
🟢 Functions 52.74% (🎯 30%) 144 / 273
🟢 Branches 58.23% (🎯 30%) 382 / 656
File CoverageNo changed files found.
Generated in workflow #1505 for commit 5fcc374 by the Vitest Coverage Report Action
github-actions[bot] commented 8 hours ago

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
@lottiefiles/dotlottie-web 38.4 KB (0%) 768 ms (0%) 204 ms (-37.28% 🔽) 972 ms
@lottiefiles/dotlottie-web WASM 400 KB (0%) 8.1 s (0%) 0 ms (+100% 🔺) 8.1 s
@lottiefiles/dotlottie-react 41.22 KB (-0.97% 🔽) 825 ms (-0.97% 🔽) 410 ms (+90.01% 🔺) 1.3 s
@lottiefiles/dotlottie-vue 45.28 KB (0%) 906 ms (0%) 238 ms (-68.48% 🔽) 1.2 s
@lottiefiles/dotlottie-wc 45.37 KB (0%) 908 ms (0%) 330 ms (+55.38% 🔺) 1.3 s
@lottiefiles/dotlottie-svelte 45.87 KB (0%) 918 ms (0%) 181 ms (-11.25% 🔽) 1.1 s
@lottiefiles/dotlottie-solid 44.73 KB (0%) 895 ms (0%) 140 ms (-32.72% 🔽) 1.1 s