Suggestion: The NativeWind docs should include the Reanimated Babel plugin in the example config. Without it, animations like animate-pulse don’t work in React Native projects.
// babel.config.js
module.exports = function (api) {
api.cache(true);
return {
presets: [
['babel-preset-expo', { jsxImportSource: 'nativewind' }],
'nativewind/babel',
],
plugins: ['react-native-reanimated/plugin'], // required for animations
};
};
Could we add this to the template in the documentation? It fixed my animation issues.