
A shared codebase between Android and iOS apps, with only minor tweaks required to match platform experiences.React Native requires a JavaScript engine to run, which may make it less performant.JavaScript isn’t a strictly typed language.React Native is a novel framework and updates can have a negative effect on your current codebase.

React Native can’t be used for every application or feature.Since it’d been a while that I learned something new, I thought why not give it a shot? Today, I’m huge React Native advocate. Years passed and React Native skills became very much in demand. I argued that it is just another cross-platform framework which will never work in real life – little did I know how wrong I was. Obs: Always check if the version on android/app/build.A few years ago, a coworker of mine told me about React Native. In case it is not, click on the checkbox and then "Apply".ĥ) Start a project Example app init react-native init ReactNativeDemo & cd ReactNativeDemo

Select "SDK Platforms" from within the SDK Manager and you should see a blue checkmark next to "Android 7.0 (Nougat)". Run the npm to install the react-native sudo npm install -g react-native-cliĢ) Setup Java sudo apt-get install lib32stdc++6 lib32z1 openjdk-7-jdkģ) Setup Android Studio: Android SDK or Android Studio Īndroid SDK e ENV export ANDROID_HOME=/YOUR/LOCAL/ANDROID/SDKĮxport PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools If node command is unavailable sudo ln -s /usr/bin/nodejs /usr/bin/nodeĪlternatives NodeJS instalations: curl -sL | sudo -E bash -Ĭheck if you have the current version node -v Source: React Native website Setup for Linux (Ubuntu)ġ) Setup Node.JS Start the terminal and run the following commands to install nodeJS: curl -sL | sudo -E bash. It is open-source and maintained by Facebook.

You just put those building blocks together using JavaScript and React. React Native uses the same fundamental UI building blocks as regular iOS and Android apps. You build a real mobile app that's indistinguishable from an app built using Objective-C or Java. With React Native, you don't build a “mobile web app”, an “HTML5 app”, or a “hybrid app”. It uses the same design as React, letting you compose a rich mobile UI from declarative components.

React Native lets you build mobile apps using only JavaScript.
