Fix: update FadeInView example to use Animated.Value#4674
Conversation
✅ Deploy Preview for react-native ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@cortinico Hi! Is the code change okay as it is |
|
@cortinico Hi! I've updated the code to |
…tion example Accidentally changed JS code snippet
|
Hey @DhruvTheDev1, thanks for working on the fix, and sorry for missing this earlier! The animation examples should have been fixed now across all pages, and in versioned docs. Please let me know if there are still any issues, or just open a new report/PR, happy to review and ship it! For now, I'm closing this as done. |
Addressed #4654
const fadeAnim = useAnimatedValue(0);which is not a real function in the React Native API.TypeError: (0 , _reactNative.useAnimatedValue) is not a functionconst fadeAnim = useAnimatedValue(0);withconst fadeAnim = new Animated.Value(0);