Skip to content
Advertisement

Tag: react-native-reanimated

react-native-reanimated 2: cannot make a function with ‘worklet’ keyword (undefined is not a function)

im just learning react-native-reanimated v2, but i got an issue when creating a function with ‘worklet’ keyword. I installed react-native-reanimated v2 on a React Native bare project using npx react-native init myApp. I have followed all the react-native-reanimated v2 installation instruction, including: configuring the babel.config.js Enabling hermes, set it to true Configuring the MainApplication.java file Clean the build Reset the

Advertisement