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 developing a music player where i am trying to make the performance of animation and slider more fluid. I was using slider provided by vanilla react native and implemented the setState logic. The result was ok but as soon as i start panResponder gesture processing, the animation looses its smoothness.
I saw this library where @jeanregisser said instead of setState, Animated is being used which is an ideal scenario as it won't cause unnecessary re-rendering. But even after using this library i face the same lag.
The text was updated successfully, but these errors were encountered:
themakerman
changed the title
value should be changed via setState or not?
[Animation Stutter in Production Environment] Slider value should be changed via setState or not?
Jan 25, 2018
Hi Guys,
I am developing a music player where i am trying to make the performance of animation and slider more fluid. I was using slider provided by vanilla react native and implemented the setState logic. The result was ok but as soon as i start panResponder gesture processing, the animation looses its smoothness.
I saw this library where @jeanregisser said instead of setState, Animated is being used which is an ideal scenario as it won't cause unnecessary re-rendering. But even after using this library i face the same lag.
This is the result i get in production environment.
https://drive.google.com/open?id=1Q_QbUWpLTF9QsO1h8zyXzN_mlVVNzRhf
The text was updated successfully, but these errors were encountered: