Hi, Thank you for the advice.
But its still a no go. the tween is working perfectly fine in dev mode of nextjs(using custom server hapi). However once build and run in production, the animation stops. I even tried doing the same using REACT TRANSITION.
<Transition
mountOnEnter
unmountOnExit
in={true}
addEndListener={(node, done) => {
this.myTween.to(node, 1, {x: -600},"+=2")
.to(node, 1, {x: -1200},"+=2")
.to(node, 1, {x: -1800},"+=2")
.to(node, 1, {x: -2400},"+=2")
}}>
<div className="d-flex flex-row">
{
this.images.map((data,index) => {
return(
<img key={index} src={data.uri}/>
)
})
}
</div>
</Transition>
Works fine in dev, but in production no style being added.
@gogo125 How did you fix this issue.