1. 程式人生 > >1.5 A better alternative thing: React Native

1.5 A better alternative thing: React Native

      In 2015, React Native (RN) was born. At that time, few people paid attention to it because it was still immature with even few basic controls. Then, with the iteration of the RN project, the functions became more and more perfect. Although there has not been a release version 1.0 so far, we are delighted to find that it is the plug-in technology of Android and iOS.

      Different person has different thinking.

      When we put a lot of energy to study how to modify with the Android operation system source codes, they are taking another roadmap, it is to do the mapping, so that each control in Android or iOS, can find the corresponding control in the RN.

      The RN is written based on JavaScript, packaged and put on the server for Android and iOS apps to download and use.

      What makes RN better than Android plugins is that it also supports iOS, which maximizes cross-platform implementation. When we thought it was easy to use Android plug-in, and how to release new features to iOS, RN is a better choice.

      For the performance, the difference between these two patterns is not significant. RN is very smooth on iOS and Android. Don't worry about this.

      For small-sized or medium-sized companies and startups, they have no human resources and financial resources to develop a plug-in framework, and generally adopt a relatively stable, open source, and continuous updated plug-in framework in their country. However, it seems that iOS has no technical framework, especially after the JsPatch hot fix was forbidden by the AppStore. Their best choice is RN. Once the JavaScript is recruited, it will be able to quickly iterate and release. I do the code programming before, and do training now, there are hundreds of companies in China, including large state-owned enterprises, second-tier, third-tier Internet companies, and traditional industries. Found that 90% of companies in the country are in such situation: the demand for RN is far greater than Android plug-in technology.

      For about RN, there are already some books available. This book mainly introduces Android plug-in technology. This section shows some points that Android plug-in is not as good as RN.

相關推薦

1.5 A better alternative thing: React Native

      In 2015, React Native (RN) was born. At that time, few people paid attention to it because it was still immature with even few basic controls. Then,

《移動Web前端高效開發實戰HTML 5 + CSS 3 + JavaScript Webpack + React Native + Vue.js + Node.js 》介紹推薦

移動網際網路的興起和快速普及,給前端開發人員帶來了新機遇。移動Web前端技術作為整個技術鏈條中重要的一環,卻亂象叢生。本書是一本梳理移動前端和Native客戶端技術體系的入門實戰書。 本書涵蓋了移動Web前端開發中的各個關鍵技術環節,共14章。分別從HTML 5、C

I built Vasern — a data storage for React Native

I built Vasern — a data storage for React NativeAn open source sync database solutionReact Native is a framework for building native mobile apps, released

編譯依賴於React Native0.46.4的工程,報錯“react-native-xcode.sh now lives in a different location”

webstorm alt where git span command com pen app 我的環境: WebStorm 2017.2Build #WS-172.3317.70, built on July 14, 2017 JRE: 1.8.0_152-release

React Native Expected a component class,got [object Object]解決

小寫 博客 color cnblogs reac 大小 style bject eight 報錯原因: 組件大小寫錯誤. 解決方式: 修改組件名稱即可. 這篇博客介紹了大部分RN的錯誤原因和解決方法: http://blog.csdn.net/chichengjun

react native 0.5項目目錄介紹

lock 文本文 通用組 gas app.js Redux editor commons ant ├── src // Ract Native │ ├── app // redux部

React Native 調用 Web3(1.x) 的正確姿勢

roi undefine director 應用 undefined -i open net fur 1 創建項目 react-native init lm1 cd lm1 2 安裝依賴包 yarn add node-libs-browser 3 創建 rn-cli

手把手教你搭建React Native 開發環境 - ios篇 (React <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="eda38c99849b88adddc3d8d8c3d9">[email&#

由於之前我是h5的,沒接觸過ios和安卓, 也不瞭解xcode配置,所以 建議學reace-native之前還是先去了解一下ios和安卓開發環境搭建等問題。 環境下載及配置 nodejs:https://nodejs.org/en/download/ 設定淘寶映象 $ npm con

Python: pyHook-1.5.1-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.

     pyHook-1.5.1-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform. 安裝pyhook的時候報錯 下載了pyHook-1.5.1-cp37-cp37m-

[vscode react-native] xcrun: error: unable to find utility "instruments", not a developer tool or in

執行環境:Mac + vscode + xcode IOS ReactNative執行的時候出現這個錯誤 使用vscode執行reactnative 專案時報錯:xcrun: error: unable to find utility "instruments", not a develop

react-native爬坑(1)————給現有的Android專案整合

公司專案需要頻繁更新,因此考慮使用react-native給現有的Android專案進行功能補充。研究了2天,官網的資料坑太多,網上的部落格也不適用最新的版本,跑不起來,網上翻了n多篇資料,終於能夠執行起來,開心。現在將react-native整合的詳細跳坑步驟寫一下; (1)前提:需要按照官網

react-native react-native-device-info Could not find support-core-ui.jar (com.android.support:support-core-ui:27.1.1).

1.參考 https://stackoverflow.com/questions/50606249/android-gradle-sync-failed-could-not-find-support-core-ui-aar 2.改順序,並且我選擇刪掉了maven的引入google.com和自帶的那

React-Native:BUG:libpng error: Not a PNG file錯誤

今天在放入png圖片的時候,編譯報錯,截圖如下 從這裡可以看出是resource檔案引起的error,提示這不是一張png圖片,但圖片的字尾名確實是png,這是怎麼回事呢?、 看到網路中有一種解釋:圖片字尾名不是png,但被改成了png,導致gradle檢查報錯,我的圖片是網路中找的,有這

error: Build input file cannot be found: '*******/node_modules/react-native/Libraries/WebSocket/libfishhook.a' 問題解決記錄

解決了剛才的 'config.h' file not found 問題,本以為就可以順暢的跑起來,誰知道又被噁心到了,Build input file cannot be found!!! 問題: error: Build input file cannot be found: '/U

react-native-1

1.首先安裝 這個腳手架 cnpm install expo-cli -g 2.然後 expo init 專案名字   3.然後 選擇blank 或者第二個 第二個是給你一些demo 而為了方便選擇第一個就可以 &nbs

iOS原生專案(Objective-C)整合React Native(0.57.3版本)圖文教程--(1)基本環境

文章目錄 iOS原生專案(Objective-C)整合React Native(0.57.3版本)圖文教程--(1)基本環境 1. Homebrew 2. Node 3. Yarn 4. react-nat

React Native隨堂筆記1

道具(屬性) 以常見的基礎元件Image為例,在建立一個圖片時,可以傳入一個名為source的prop來指定要顯示的圖片的地址,以及使用名為style的prop來控制其尺寸。 import React, { Component } from 'react'; import { Image }

react-native 踩坑紀實(1)- 安裝環境

一、安裝環境 開發rn得裝個nodejs,我機器有,這一步就免了。然後開啟rn的官網 瞄了一下,官網的get start使用的是expo 來進行開發,這個東西我體會了一下就是能快速進入開發狀態。不用裝android-studio,手機裝一個Expo客戶端就直接能用,省

用 Swift 解讀 React/React Native: Part 1

React & React Native 不只是一種框架,它更是一種思維方式和方法論。 Glow 使用 React Native 至今一年半有餘,專案裡也有越來越多的元件被重構成 React Native。在使用 React Native 開發的過程中,我們對 Re

Building a React Native App With Complex Navigation Using React Navigation

In May 2018 my startup switched from the Ionic framework to React Native because the app we are developing needs versatile navigation. Ionic’s way of handl