You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using @lottiefiles/dotlottie-react library to render some lottie animation. my initial animation source is empty cause it is coming from and api call. when this fills and my source fills it rerenders component but dotLottieRefCallbackis not getting called again so in this case i have nothing to show to the user.
Overview
I am using @lottiefiles/dotlottie-react library to render some lottie animation. my initial animation source is empty cause it is coming from and api call. when this fills and my source fills it rerenders component but dotLottieRefCallbackis not getting called again so in this case i have nothing to show to the user.
Consuming repo
`
const dotLottieRefCallback = (_dotlottie: DotLottie) => {
setDotLottie(_dotlottie)
}
useEffect(() => {
if (!dotLottie) return
}, [dotLottie, source])
`
...
Labels
[ Bug]
The text was updated successfully, but these errors were encountered: