Search code examples
react-nativeexpomobile-application

React native cli or Expo


im planning to start a new project that will go to production, but im confused between using React native cli or Expo.

The app will use Amplify for the Auth.

help please

some people said that expo has some issues too. but I'm not sure about it


Solution

  • Expo is a framework for React Native, they will both work with whatever auth solution you desire. Expo used to be very restrictive in what you could do with it (for example: it was very hard to integrate with native modules without ejecting).

    But Expo has evolved greatly in the last few years, and now there are really few downsides to it.

    In my opinion, go with Expo unless your requirements explicitly say otherwise.

    Also, fyi, the main limitations of Expo nowadays are:

    • Bigger bundle size (and thus, bigger app size)
    • Slight overhead when integrating with some native libraries
    • It does not work with react-native-windows and react-native-macos