/node_modules/react-native/src/navigators/MainNavigator.js: The decorators plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you want to use the legacy decorators semantics, you can set the 'legacy: true' option.
Dev package installed:
"@babel/plugin-proposal-decorators": "^7.1.6",
.babelrc file:
{
"presets": ["module:metro-react-native-babel-preset"],
"plugins": ["@babel/plugin-proposal-decorators", { "legacy": true }]
}
Im lost now, this flag should be solving the problem right?
/node_modules/react-native/src/navigators/MainNavigator.js: The decorators plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you want to use the legacy decorators semantics, you can set the 'legacy: true' option.
Dev package installed:
"@babel/plugin-proposal-decorators": "^7.1.6",
.babelrc file:
{
"presets": ["module:metro-react-native-babel-preset"],
"plugins": ["@babel/plugin-proposal-decorators", { "legacy": true }]
}
Im lost now, this flag should be solving the problem right?