Closed andreialecu closed 3 years ago
In reanimated 2 rc.0, useSharedValue actually recomputes the value and acts as useDerivedValue unless false is passed to the second parameter.
useSharedValue
useDerivedValue
false
This can cause a glitch in the indicator mid-snap if the container needs to re-render.
In reanimated 2 rc.0,
useSharedValue
actually recomputes the value and acts asuseDerivedValue
unlessfalse
is passed to the second parameter.This can cause a glitch in the indicator mid-snap if the container needs to re-render.