github Gamote/lottie-react v2.3.1

latest releases: v2.4.1, v2.4.0
3 years ago

Changes

fix: animation plays at least twice when loop: false when initialSegment doesn't have a value (#48)
fix: memory leak when un-mounting the animation (#63)
fix: useLottieInteractivity hook is loaded conditionally
fix: loop property is not propagated to Lottie (#51)
fix: loop type doesn't accept a number (#30) (#60 by @mattvague)
fix: reference to the animation instance is not removed on destroy() (#57 by @michax)

chore: lottie-web was updated to v5.9.4
chore: dev dependencies for react and react-dom was updated to v18.2.0
chore: update the ESLint + Prettier configuration + some npm package
chore: type of animationData property was updated from any to unknown
chore: README.md file was updated

Don't miss a new lottie-react release

NewReleases is sending notifications on new releases.