React Native

React Native Animations

Animated API, Reanimated 2/3, Gesture Handler, layout animations, performance

22 preguntas de entrevista·
Mid-Level
1

Which object should be used to create an animatable value with React Native's Animated API?

Respuesta

Animated.Value is the fundamental object for creating animatable values in React Native. It encapsulates a numeric value that can be smoothly changed over time. This value can then be linked to style properties like opacity, transform or width to create visual animations.

2

Which animation method allows creating a smooth transition with configurable duration and easing?

Respuesta

Animated.timing is the most common method for creating time-based animations. It allows defining a duration, an easing function (acceleration/deceleration), and optionally a delay. This method provides precise control over the animation progression from start to finish.

3

Which method allows running multiple animations simultaneously with the Animated API?

Respuesta

Animated.parallel runs an array of animations in parallel, starting them all simultaneously. This method is ideal for synchronizing multiple animated properties, like moving and fading in an element at the same time. By default, it stops if any animation fails, a behavior configurable via stopTogether.

4

Which method allows chaining animations one after another in sequential order?

5

Which animation method creates a realistic bouncy physics effect without a fixed duration?

+19 preguntas de entrevista

Domina React Native para tu próxima entrevista

Accede a todas las preguntas, flashcards, tests técnicos, ejercicios de code review y simuladores de entrevista.

Empieza gratis