Question · React Native course · Module 10: Animations

useSharedValue

What is useSharedValue in Reanimated?

Answer options

  • A hook for sharing values between the JS and UI threads
  • A hook for component state
  • A hook for side effects
  • A hook for context

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