News for hackers. Stuff that matters.
Re:No, React Native is not the future by supermatt on Sunday January 01, 2023 @04:04AM (#34204831)
not so. you can build complex apps with the expo libs.

The reason people "eject" is primarily to add 3rd party native modules for functionality not available in expokit, or to optimize build size by removing unused expokit functionality. This isnt neccessary in the vast majority of cases as you can use Expo App Services to do this (locally, or remotely if you dont have mobile sdks installed)

And you still get the other benefits of expo - e.g. "batteries included" api, OTA app updates, not having to install the mobile SDKs, etc.

Re:No, React Native is not the future by ericlewis on Sunday January 01, 2023 @10:14AM (#34206891)
It isn't even necessary anymore I believe, as Expo has a way to do so.
Re:No, React Native is not the future by supermatt on Monday January 02, 2023 @04:20AM (#34215987)
There are still some cases where you will need to eject (if you want to embed as a view in an unmanaged app for example).
Re:No, React Native is not the future by no_butterscotch on Sunday January 01, 2023 @07:28PM (#34212760)
ok thanks!

whats the type of functionality not available?

Re:No, React Native is not the future by supermatt on Monday January 02, 2023 @04:27AM (#34216031)
Anything not in the expo sdk ;) https://docs.expo.dev/versions/v47.0.0

You then use 3rd party modules (or build your own) to add/extend native functionality that is exposed to react native. For example, webtrc: https://github.com/react-native-webrtc/react-native-webrtc

Re:No, React Native is not the future by TotempaaltJ on Tuesday January 03, 2023 @10:20AM (#34232464)
This is (effectively) false. You don't need to eject to use third party modules (including, but not limited to, react-native-webrtc). You can use expo-dev-client to build your own "Expo Go"-esque development app, and EAS Build provides a fully transparent build environment.

To be precise, EAS Build does actually eject IIRC, but you never notice this during development. I haven't ejected or seen an android/ or ios/ directory in the past year of developing an Expo app, using many third party libs.