QM Babel plugin to annotate React Native applications for better selector generation
npm install react-native-quantum-babel-annotationsThis plugin is only for React Native apps and requires an account with Quantum Metric.
This plugin includes some extra features that improve our React Native capture support.
```
npm install react-native-quantum-babel-annotations
Enable babel plugin in the babel.config.js
`
module.exports = function (api) {
const presets = ['module:metro-react-native-babel-preset'];
const plugins = ['module:react-native-quantum-babel-annotations'];
api.cache(false);
return {
presets,
plugins
};
};
``