Animate Colors with React Native Interpolate

Share this video with your friends

Send Tweet

We'll use the interpolate function from an Animated.Value to transition the background color of an Animated.View. We'll simultaneously translate the position with the same Animated.Value.

Michel Arteta
Michel Arteta
~ 7 years ago

I am getting animated value is not a constructor when running the same code. Are you familiar with this error?

Luis
Luis
~ 5 years ago

Like many videos here on egghead, while useful this video lacks explanation. Instead use function X and pass parameters X and Y, one would expect some detail about the function's purpose, a bit more context overall.

Will Johnson
Will Johnson
~ 5 years ago

@Luis what do you need more context on? I'd be happy to to help!