You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
brentvatne
changed the title
Switch to babel-preset-react-native-stage-0 when ejecting to plain React Native project
Switch to babel-preset-react-native when ejecting to plain React Native project
Jun 6, 2017
The template .babelrc file uses babel-preset-expo, which extends babel-preset-react-native by adding decorator support. I think this makes it possible to use decorators in CRNA apps. If we replace the "expo" preset with "react-native", wouldn't it break any app that relies on the decorator support?
@fson - good point, we should use babel-preset-react-native-stage-0/decorator-support (this is the same preset that babel-preset-expo extends)
brentvatne
changed the title
Switch to babel-preset-react-native when ejecting to plain React Native project
Switch to babel-preset-react-native and remove jest-preset-expo when ejecting to plain React Native project
Jan 19, 2018
Related to:
When you eject to a plain React Native project, we install
"babel-preset-react-native"
and change the preset used in.babelrc
to"react-native"
.The text was updated successfully, but these errors were encountered: