react-native-reanimated
react-native-reanimated copied to clipboard
interpolate API is undefined.
Description
import { interpolate } from 'react-native-reanimated'
interpolate is undefined.
react-native-reanimated: 3.0.0-rc2 react-native: 0.69.5 new architecture enalbed hermes enabled react native without expo
Steps to reproduce
- import interpolate from 'react-native-reanimated'
- use interpolate
- crash (undefined is not function)
Snack or a link to a repository
none
Reanimated version
3.0.0-rc2
React Native version
0.69.5
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
iOS simulator
Device model
iPhone 13
Acknowledgements
Yes
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
It works for me on 3.0.0-rc.9
. Make sure you set up your project correctly (add babel plugin etc https://docs.swmansion.com/react-native-reanimated/docs/next/fundamentals/installation), if problem persists provide link to the project that reproduces the issue.