Getting Started with React Native
Introduction
React Native allows making mobile apps using JavaScript only. This uses the same design, which allows a mobile rich UI from the declarative components. Respond to a native; we are not making a mobile web app, an HTML5 app or a hybrid app; we make a real mobile app that can't distinguish from an app made with Objective-C or Java. Regular IOS respond to the same fundamental UI Building Blocks as Android Applications. We put those building blocks together with JavaScript and React.
Features of React Native
The characteristics of React Native are as follows:
- React – The framework used to make web and mobile apps using JavaScript.
- Native – The framework can use local elements controlled by JavaScript.
- Platforms – The IOS and the Android platform are supported by Native.
Advantages of React Native
- JavaScript – We can use existing JavaScript knowledge to make native mobile apps.
- Code Sharing – We can share most of the codes on different platforms.
- Community – The surrounding community around React and React Native is enormous, so we can find any answer that we require.
Disadvantages of React Native
- Native Components - We need to write some platform-specific code; if we want to create a native functionality that is not started yet.
React Fundamentals
React Native runs on React, a popular open-source library for building user interfaces with JavaScript. Making the most of React Native helps to understand React itself. The core concept behind React is:
- components
- JSX
- props
- state