Question · React Native course · Module 10: Animations

useRef for Animated

Why do we use useRef with Animated.Value?

Answer options

  • So the value persists across re-renders
  • Because it's faster
  • Because it's required
  • For better readability

You can check the correct answer by solving this task in the CodeWorlds game.