React Native

React Native Animations

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

22 mülakat soruları·
Mid-Level
1

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

Cevap

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?

Cevap

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?

Cevap

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 mülakat soruları

Bir sonraki mülakatın için React Native'de uzmanlaş

Tüm sorulara, flashcards'a, teknik testlere, code review alıştırmalarına ve mülakat simülatörlerine eriş.

Ücretsiz başla