Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: export 'useAnimatedValue' (imported as 'useAnimatedValue') was not found in 'react-native' #2707

Open
1 task done
ambar opened this issue Aug 9, 2024 · 0 comments · May be fixed by #2740
Open
1 task done
Labels

Comments

@ambar
Copy link

ambar commented Aug 9, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Describe the issue

export 'useAnimatedValue' (imported as 'useAnimatedValue') was not found in 'react-native' (possible exports: AccessibilityInfo, ActivityIndicator,
Alert, Animated, AppRegistry, AppState, Appearance, BackHandler, Button, CheckBox, Clipboard, DeviceEventEmitter, Dimensions, Easing, FlatList, I18nManager, Image, ImageBackground, InteractionManager, Keyboard, KeyboardAvoidingView, LayoutAnimation, Linking, LogBox, Modal, NativeEventEmitter, NativeModules, PanResponder, Picker, PixelRatio, Platform, Pressable, ProgressBar, RefreshControl, SafeAreaView, ScrollView, SectionList, Share, StatusBar, StyleSheet, Switch, Text, TextInput, Touchable, TouchableHighlight, TouchableNativeFeedback, TouchableOpacity, TouchableWithoutFeedback, UIManager, Vibration, View, VirtualizedList, YellowBox, _esModule, findNodeHandle, processColor, render, unmountComponentAtNode, unstable_batchedUpdates, unstable_createElement, useColorScheme, useLocaleContext, useWindowDimensions)

Expected behavior

useAnimatedValue is exported.

Steps to reproduce

import {useAnimatedValue} from 'react-native'

Test case

https://codesandbox.io/p/sandbox/hopeful-butterfly-fp2kqg

Additional comments

The diff from rn [email protected] [email protected]:

2d1
< ActionSheetIOS
10a10
> CheckBox
12d11
< ColorPropType
14,15d12
< DeviceInfo
< DevSettings
17,18d13
< DrawerLayoutAndroid
< DynamicColorIOS
20d14
< EdgeInsetsPropType
26d19
< InputAccessoryView
34,35d26
< NativeAppEventEmitter
< NativeDialogManagerAndroid
38d28
< Networking
40c30
< PermissionsAndroid
---
> Picker
43,44d32
< PlatformColor
< PointPropType
47,48c35
< ProgressBarAndroid
< PushNotificationIOS
---
> ProgressBar
50,51c37
< requireNativeComponent
< RootTagContext
---
> render
55d40
< Settings
60d44
< Systrace
63d46
< ToastAndroid
69d51
< TurboModuleRegistry
71,73c53,54
< unstable_batchedUpdates
< unstable_enableLogBox
< useAnimatedValue
---
> unmountComponentAtNode
> unstable_createElement
74a56
> useLocaleContext
76d57
< UTFSequence
79d59
< ViewPropTypes
81d60
< VirtualizedSectionList
@ambar ambar added the bug label Aug 9, 2024
retyui added a commit to retyui/react-native-web that referenced this issue Nov 28, 2024
@retyui retyui linked a pull request Nov 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant