DEV Community

Cover image for EXPO vs CLI, Which is preferrable for building ReactNative Mobile Apps
Ande Caleb
Ande Caleb

Posted on

1

EXPO vs CLI, Which is preferrable for building ReactNative Mobile Apps

*Background :: *

I am a FullStack javascript developer and i'm trying to maximise the application of javascript to every area of interest, from web(frontend & Backend), desktop and mobile application development and also TV apps in the future.

I Currently build web applications frontend and backend using Javascript, but i need to extend it to mobile devices because of this one issue. i used ionic in the past, but my love for react has made me adapt all my applications to the react-application structure.

*Problem *
I need your opinions on which is better with reasons, i tried Expo a while ago, and it had tons of advantages, but a lot of issues while building and running the application.

Even when i ran into certain issues i went online and most developers couldn't provide resources for all the issues mentioned, so i resorted to not using it except it had been fully proven.

I also saw opinions of other developers saying CLI is a bit cumbersome with its processes but most of the issues are based on the advantages when using Expo.

I need opinions from other developers on the WHY's if there's any of whether EXPO is better and if i should resort to it, or if CLI is better and if i should remain there.

Hot sauce if you're wrong - web dev trivia for staff engineers

Hot sauce if you're wrong · web dev trivia for staff engineers (Chris vs Jeremy, Leet Heat S1.E4)

  • Shipping Fast: Test your knowledge of deployment strategies and techniques
  • Authentication: Prove you know your OAuth from your JWT
  • CSS: Demonstrate your styling expertise under pressure
  • Acronyms: Decode the alphabet soup of web development
  • Accessibility: Show your commitment to building for everyone

Contestants must answer rapid-fire questions across the full stack of modern web development. Get it right, earn points. Get it wrong? The spice level goes up!

Watch Video 🌶️🔥

Top comments (3)

Collapse
 
anasnmu profile image
Anas Nabil

Expo Go comes with a pre-configured set of libraries, known as the Expo SDK. This makes development much faster, and essentially makes the mobile development experience much closer to the web development experience. However, additional native code cannot be added to Expo Go on the fly, so this means you are limited in terms of what dependencies you can add.

In the bare workflow, we have full access to the underlying native projects and any native code. It's a "bare" native project with React Native and one or more packages from the Expo SDK installed. Anything that you can do in a native project is possible here.

Why not expo?

Collapse
 
andaeiii profile image
Ande Caleb

true, it does come with its advantages, but a lot of issues in development, and i try as much as possible to avoid issues on production, as to what customers may run into.
now the issue is, isn't there a way one could build react native using CLI and still harness the power of Expo while utilizing other libraries.
i loved expo while using it, but the issues i ran into, made my experience terrible, i've been trying to delve into flutter development, and i still would, but at the moment, it wouldnt be bad to see how best to master react native CLI.

Collapse
 
andaeiii profile image
Ande Caleb

a lot of those issues still unresolved. here's a list and it just keeps increasing..
github.com/expo/expo-cli/issues

its just not good for a while in development process... this gives me concern... as to what happens if an issue is unresolved, and more keeps piling up each day.

Sentry mobile image

Improving mobile performance, from slow screens to app start time

Based on our experience working with thousands of mobile developer teams, we developed a mobile monitoring maturity curve.

Read more

👋 Kindness is contagious

Explore a trove of insights in this engaging article, celebrated within our welcoming DEV Community. Developers from every background are invited to join and enhance our shared wisdom.

A genuine "thank you" can truly uplift someone’s day. Feel free to express your gratitude in the comments below!

On DEV, our collective exchange of knowledge lightens the road ahead and strengthens our community bonds. Found something valuable here? A small thank you to the author can make a big difference.

Okay