4
donuts
5y

So reinstalled to learn React Native... and React as well while I'm at it. Can that be done or I would learn React and build a webapp with it first? (I don't want to build a webapp though...)

Also I want to target Android but seems all books target iOS... Are there any books for Android?

I'm just following the Facebook GitHub now.

Comments
  • 0
    Does it neeed to download this every time i build an app???

    This is like the Android SDK Java libraries?
  • 1
    Hi there! I learned react native first, the had a good grasp of react. So since you don't want to build web apps, you can learn react native directly. Then as for the java sdk stuff, you only get to download those things once.
  • 1
    Not sure if I've come across books on react native/react.. But their docs are great!
  • 1
    @leksyib seems the sample project was bad... Then had to upgrade gradel or SDK...

    All in all, 1 day gone and lost 10GB of space....

    I think maybe I got a semi-HelloWorld sample project working.

    What would be the best way to learn the latest ReactNative.

    Also how do you really use Expo, not really sure what that is.. A live debugger? And do you run it on PC (chrome or emulator) or push to device?

    So actually first, how do you create a new app? There seems to be a few ways? react-native init ... Or create-react-app ...?
  • 1
    @billgates I use the normal react native init. Create-react-native-app or expo has limitations. Like you can't link external native modules. The only native modules you can use are the ones that come with expo
  • 1
    You can learn basic syntax and stuff by using expo anyway, it'll be easier since you won't need to use Android sdk.

    But when building a robust app, I suggest React native init incase you might want to make your own native module bridge. Also expo apps are a lot more heavier than normal react native init apps. Not sure why
  • 1
    For the Android sdk part. The thing seems harder when trying to setup though. You just have to install the right modules. Like the Android sdk itself, an emulator, build tools etc
  • 1
    Expo is just like a quick way to build a react native app. You don't need Android sdk or xcode. All you need is just a device then you scan the barcode expo provides
  • 1
    @leksyib so if I use react-native init, do I need Android Studio for anything other than to build the signed apk?

    Also on my Windows system, it seems to run cli correctly I need to override the JAVA_HOME, otherwise it uses JRE even though I have JDK too (64-bit though, should I install a 32-bit one, does it matter?)
  • 0
    @billgates if you use react-native init, you will always need android studio even to run the app
  • 0
    @billgates Sorry I'm not used to setting up android studio for react native on windows😅
  • 1
    if you don't want to do webapps, then i recommend not learning web stacks and learning actual real native, or at least half-native (such as xamarin) platforms
  • 0
    @Midnigh-shcode React-native is real native.
  • 0
    @Midnigh-shcode and this is killing N birds with 1 stone.

    JavaScript + React => web, desktop, mobile

    Write once, run anywhere...

    Yes I could learn Android... again.... but I am not an Android dev and Android is not a language, it is specific to Android OS plus it keeps changing. When learned Android, it was like 5 years ago on 3.0. All that knowledge is probably useless now.

    JS, Java, C#, Python.... those are still pretty good and used everywhere. At work I'm full stack MEAN + Java and some Python, C#.

    Need to learn NET core whenever i actually need to use it...

    The languages evolve but they're mostly backwards compatible.

    Android/mobile is like.... oh we're going redesign the whole flow every few years and you should rebuild you apps... assuming you still want to maintain them.
Add Comment