Skip to content

[Reanimated] Seems like you are using a Babel plugin react-native-reanimated/plugin. It was moved to react-native-worklets package. Please use react-native-worklets/plugin instead. #7887

Answered by MatiPl01
jaswinprakash asked this question in Q&A
Discussion options

You must be logged in to vote

Expo still includes react-native-reanimated/plugin instead of the new react-native-worklets/plugin in its babel preset. The react-native-reanimated/plugin/index.js file does the following thing:

const plugin = require('react-native-worklets/plugin');
console.warn(
  '[Reanimated] Seems like you are using a Babel plugin `react-native-reanimated/plugin`. It was moved to `react-native-worklets` package. Please use `react-native-worklets/plugin` instead.'
);
module.exports = plugin;

So, it essentially just re-exports the react-native-worklets/plugin and shows this warning.

You can safely ignore this warning and everything should work still fine, because it is exporting a correct plugin under …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jaswinprakash
Comment options

@MatiPl01
Comment options

@tomekzaw
Comment options

Answer selected by jaswinprakash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants