






















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























React Native is an open source framework developed by Facebook that allows JavaScript developers to create familiar
React components that work across web, Android , and iOS development environments Logo Of React Native
In 2012 Mark Zuckerberg commented The biggest mistake we made as a company was betting too much on HTML as opposed to native.Using HTML5 for Facebook's mobile version resulted in an unstable application that retrieved data slowly.He promised
technical talk, Christopher Chedeau explained that Facebook was already using React Native in production for their Group App and their Ads Manager App
-React Native is an open source framework that enables cross-platform mobile application building using JavaScript and React which is an open source JavaScript library developed by Facebook.
-Instagram, and other developers to build user interfaces.
-React Native apps function the same way as native iOS (built using Swift or Objective- C) and Android apps (developed using Kotlin or Java). React Native is a powerful tool that aids in creating apps with beautiful UIs, which are the same as native apps. As a
result, mobile app creation becomes easy and efficient, in terms of both time and cost.
Implementation -The working principles of React Native are virtually identical to React except that React Native does not manipulate the DOM via the Virtual DOM. It runs in a background process (which interprets the JavaScript written by the developers) directly on the end-device and communicates with the native platform via serialized data over an asynchronous and batched bridge.
-React components wrap existing native code and interact with native APIs via React’s declarative UI paradigm and
const HelloWorldApp = () => Hello world!;
export default HelloWorldApp;
AppRegistry.registerComponent('HelloWorl d', () => HelloWorldApp);
// The React native code can also be imported from another component with the following code:
import HelloWorldApp from './HelloWorldApp';
output:
HelloWorld
React Native lets you create truly native apps and doesn't compromise your users' experiences. It provides a core set of platform agnostic native components like View, Text, and Image that map directly to the platform’s native UI building blocks.
it is components wrap existing native code and interact with native APIs via React’s declarative UI paradigm and JavaScript. This enables native app development for whole new teams of developers, and can let existing native teams work much faster.
Talks
Members of the React Native team frequently speak at various conferences.
You can follow the latest news from the React Native team on Twitter
React Native provides a number of built-in Core Components ready for you to use in your app. You can find them all in the left sidebar (or menu above, if you are on a narrow screen). If you're not sure where to get started, take a look at the following
-Basic Components
-User Interface
-List Views
-Android-specific
-iOS-specific
You're not limited to the components and APIs bundled with React Native. React Native has a community of thousands of developers. If you're looking for a library that does something specific, please refer to this guide about finding libraries.
{{ message }}
-React Native was introduced as an open- source platform. React Native doesn’t require CSS or HTML. Instead, the React Native developers write native code in Java or Objective-C.
Let’s GO ::
Add Navigation Header and Home Screen
import React, { Component } from 'react';
import { Button, View, Text } from 'react-native';
class HomeScreen extends Component {
static navigationOptions = { title: 'Home', }; render() { return (
Home Screen