Is expo bare workflow the same as a bare project that is created by react-native-cli? #17689
-
Hi all, As far as I am concerned, there are 4 ways to create a React Native app
I think the question should be is expo bare workflow 100% the same as a bare project that is created by react native cli or copied from a react native boilerplate? Can they be treated as a bare project, the same? I would like a true answer since I have seen many debates over Stackoverflow and Reddit. Some says "expo bare workflow vs react native cli" while some says "when you eject from expo managed workflow, you can still have a bare react native app". I don't know which one is correct.. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
I would say that bare workflow is when you have a bare React Native app (created by react-native-cli or in any other way) So # create a bare RN app using react-native-cli
npx react-native init MyApp && cd MyApp
# add expo, afaik there's also a command `npx install-expo-modules`
yarn add expo
# now you still have a bare project, but you can use expo libraries now
npx expo install expo-media-library or do the same using expo init MyApp -t expo-template-bare-minimum && cd MyApp
npx expo install expo-media-library
|
Beta Was this translation helpful? Give feedback.
-
@mattchannn As after getting answer on this did you try eas update with you react-native cli created app? If yes can you please guide a bit on how you go and implement things for you. |
Beta Was this translation helpful? Give feedback.
I would say that bare workflow is when you have a bare React Native app (created by react-native-cli or in any other way) So
or do the same using
expo-cli
: