作者: LEOWAI 時間: 2018-4-30 17:21 標題: 請問想學react native , 之前需要咩基礎?
請問想學react native , 之前需要咩基礎?
作者: hihihi123hk 時間: 2018-5-2 09:21
回覆 1# LEOWAI
nodejs, npm
jsx, javascript
android 、 ios 基本知識
無乜可能一開始就由React Native 起手,太難了。講真就算本身識 Programming 嘅人都未必輕易上到手
via HKEPC IR Pro 3.3.1 - iOS(2.3.0)
作者: LEOWAI 時間: 2018-5-2 22:18
回覆 LEOWAI
nodejs, npm
jsx, javascript
android 、 ios 基本知識
無乜可能一開始就由React N ...
hihihi123hk 發表於 2018-5-2 09:21
我諗住JavaScript先
作者: s.friday1004 時間: 2018-5-3 00:08
本帖最後由 s.friday1004 於 2018-5-3 00:10 編輯
我自己由native android (kotlin ) 轉左做 react-native
我承認有少少低估左 react framework 既 learning curve
如果要學埋主流framework 例如redux, saga 等
需要好強既 js 基礎及大量時間
同埋 除非你真係做死 android/ios 單邊 platform
否則要搞native component for 兩邊platform
你無咁上下既native 底
係無可能做到。
作者: uKernel 時間: 2018-5-3 08:27
RN主力係UI,component 係必須,所以唔學native係唔得。
via HKEPC IR Pro 3.3.1 - Android(2.3.0)
作者: LEOWAI 時間: 2018-5-3 12:39
回覆 LEOWAI
nodejs, npm
jsx, javascript
android 、 ios 基本知識
無乜可能一開始就由React N ...
hihihi123hk 發表於 2018-5-2 09:21
thank you 巴打,
我琴日去圖書館, 有一本書介紹, javascript: the good parts.
有無邊D COURSE online, 可以由最基礎教起, 有無咩練習可以打好個底..
作者: gn01119056 時間: 2018-5-3 13:30
其實react native仲有無前途?
開發唔覺簡單左, 因為learning curve太難
learn once, write everywhere, learn果下懶左野
market好似唔係好接受到, 好多都仲係用緊native, 搵人接手都易些
作者: raphaelvew 時間: 2018-5-3 21:53
市場有需求, 寫 RN 的其中一個好處是寫一次, IOS 和 ANDROID 都能用
以這點來說跟可能 UNITY 差不多
至於需求量, 或多或少罷了, 公司也在找 RN 的人, 只是一直招不到.
不過我同意如果你自己沒 Web 的認知, 去寫 RN 會比較辛苦.
作者: gossspel 時間: 2018-5-4 05:00
thank you 巴打,
我琴日去圖書館, 有一本書介紹, javascript: the good parts.
有無邊D COURSE onli ...
LEOWAI 發表於 2018-5-3 12:39
You probably want to build some React web app before trying out React Native. You can build a frontend web client using React, but you would still need to build a backend and API for anything that requires validated data storage.
On the other hand, you can totally use some prototype friendly framework like MeteorJS to skip the backend and API building part. Here is a TODO list app tutorial using React and Meteor: https://www.meteor.com/tutorials/react/creating-an-app
作者: 7h1r733n 時間: 2018-5-4 14:57
其實react native仲有無前途?
開發唔覺簡單左, 因為learning curve太難
learn once, write everywhere, l ...
gn01119056 發表於 2018-5-3 13:30
更係有前途... 唔駛Mac機.. 唔駛Xcode寫到iOS app.. 做到provision.. 出到ipa.. 有前途到不得了...
利申: 人講.. 我聽既啫.. 我唔識點唔用Xcode出到個ipa..
作者: gn01119056 時間: 2018-5-4 15:26
更係有前途... 唔駛Mac機.. 唔駛Xcode寫到iOS app.. 做到provision.. 出到ipa.. 有前途到不得了... :redf ...
7h1r733n 發表於 2018-5-4 14:57
一開始都係咁唸, 又快, 又咩platform都做到
到真係做果陣, 好多野都要自己寫, 自己解決, 無得抄, 資料相對少
搵人寫搵人SUPPORT超難搵, 成本又高
市場追唔上科技
作者: hihihi123hk 時間: 2018-5-4 20:39
其實寫已經唔算卡關.... 最卡關喺 Tune Performance
via HKEPC IR Pro 3.3.1 - iOS(2.3.1)
作者: 7h1r733n 時間: 2018-5-4 21:50
用react其實算多資料架啦.. 我用Xamarin就真係乜資料都冇.. 不過Xamarin係可以完全當Native寫.
作者: gossspel 時間: 2018-5-4 22:54
更係有前途... 唔駛Mac機.. 唔駛Xcode寫到iOS app.. 做到provision.. 出到ipa.. 有前途到不得了... :redf ...
7h1r733n 發表於 2018-5-4 14:57
A quick search seem to review that Expo can generate IPA for your react native app. I haven't done it before, but I don't mind tinkering it if I only have a windows computer and don't have a mac. However, if I want to deploy production ready app to the Appstore, there is no reason to not use mac and Xcode. The developer account is $100 USD per year, if a person can't afford that and a proper macbook, maybe he should focus on android development instead.
作者: 7h1r733n 時間: 2018-5-5 03:55
A quick search seem to review that Expo can generate IPA for your react native app. I haven't done ...
gossspel 發表於 2018-5-4 22:54
以我所知expo 其實係cloud build, 以我所知除左cloud build 係冇方法唔用xcode 又射到落真機
作者: hihihi123hk 時間: 2018-5-5 11:45
回覆 14# gossspel
iOS 10 開始已經唔洗比 $100 USD 都落到真機,係上唔到架
via HKEPC IR Pro 3.3.1 - iOS(2.3.1)
作者: gossspel 時間: 2018-5-5 14:01
回覆 gossspel
iOS 10 開始已經唔洗比 $100 USD 都落到真機,係上唔到架
via HKEPC IR Pro 3.3.1 ...
hihihi123hk 發表於 2018-5-5 11:45
The free membership cannot use advanced app capabilities, so it doesn't work well if you want to use something like push notification in your app. https://developer.apple.com/support/app-capabilities/
作者: KinChungE 時間: 2018-5-7 10:00
更係有前途... 唔駛Mac機.. 唔駛Xcode寫到iOS app.. 做到provision.. 出到ipa.. 有前途到不得了... :redf ...
7h1r733n 發表於 2018-5-4 14:57
就算你唔直接用Xcode, 都要download xcode響入面拎個iOS SDK出黎compile
作者: 7h1r733n 時間: 2018-5-7 10:54
我知可以打command compile
作者: BW 時間: 2018-5-19 16:53
本帖最後由 BW 於 2018-5-19 16:55 編輯
thank you 巴打,
我琴日去圖書館, 有一本書介紹, javascript: the good parts.
有無邊D COURSE onli ...
LEOWAI 發表於 2018-5-3 12:39
https://www.khanacademy.org/
https://www.codecademy.com/
作者: KwokAngus 時間: 2018-5-19 17:37
個人經驗,剛學RN 起手時前期內都唔好添加太多js-side framework / library 落去,越多添加劑越多,盡量plain 去了解
有d native-side library 不可避免,但js-side 個d redux etc 之類其實對entry 冇咩意思,初期唔建議多費精力,抄tutorial 試一次了解下原理就夠,專注plainly write more apps.js and more components.js,唔洗太在意productivity,一定唔productive
從iOS 開始的話,個人經驗行過 1. 即食new react native project、2. manual integration/migration with currently existing ObjC project、3. manual start/integration from scratch 條路,cocoapods / react-native link 都可以花你好多精力去慢慢problem solving,直至build 到project個下,條路可以相當曲折,三條路都學到野
作者: 高原熊 時間: 2018-5-21 22:11
之前見到話React終於將context改到redux咁放出黎用,可以再裝少個....
作者: takayo72 時間: 2018-5-22 12:40
提示: 作者被禁止或刪除 內容自動屏蔽
作者: hihihi123hk 時間: 2018-5-22 19:10
本帖最後由 hihihi123hk 於 2018-5-22 19:13 編輯
回覆 23# takayo72
技術唔係極級罕有嘅話絕對唔會話「識得 XXX 技術就一定有 YYY 嘅價錢」
,所以一般人本身個人經歷先係值錢位個人經歷就係講本身你做過啲乜野,但因為太多人用 XXX 技術做到件好高質嘅野出黎,咁你又做過,自己會比唔識 XXX 技術嘅人有優勢,相反你用 AAA 技術相對做到無咁高質嘅野,別人睇唔上眼自然比下去
XXX 個 Learning curve 無論幾高都好,如果唔能夠做到 Market/Community 認可嘅高質野出黎,一樣唔值錢
經典極端例子
作者: 清仔 時間: 2018-5-22 23:54
其實react native 個原理係點?
我好熟web frontend, react node 果d
但上次面試人地問我…我都唔太識答
有d咩唔可以re-use?
作者: 清仔 時間: 2018-5-23 00:20
https://segmentfault.com/a/1190000010124368
我睇完黎篇野…
我咁諗有無錯?
假設我有個Todo list 既PWA…用react 寫的
我要變佢做一個App…我首先要download reactive native
再用xcode/android studio 開佢
跟住放番react d source code 去個project入面
跟住個View點算??
作者: hihihi123hk 時間: 2018-5-23 00:24
本帖最後由 hihihi123hk 於 2018-5-23 00:26 編輯
回覆 26# 清仔
你無估錯,所以 UI 要重新砌,即係 `render` 內所有 XML + Web Only 嘅 CSS 嘅都用唔番

React Web App 同 React Native 只有 business logic / state management 可以重用
原理就係佢有條 JS Bridge + Rendering Engine, 將你寫嘅 XML 變番做 Native UI Widget + Data binding
作者: 清仔 時間: 2018-5-23 01:06
本帖最後由 清仔 於 2018-5-23 01:13 編輯
回覆 清仔
你無估錯,所以 UI 要重新砌,即係 `render` 內所有 XML + Web Only 嘅 CSS 嘅都用唔番 ...
hihihi123hk 發表於 2018-5-23 12:24 AM
我睇完黎個…明左好多!我之前動手試下玩先
https://www.youtube.com/watch?v=6ZnfsJ6mM5c
(1)我見個render個寫法其實同react 一樣…只係唔同directive… from package,但iOS 同Android 都係share 同一個code對吧? 同埋npm run iOS完之后…會唔會出現一個interface builder既file到最后?
(2)同埋reactive native 有d 咩limitation? 如果我想寫個component出黎…應該點做?上面個youtube用左airbnb寫既 google map黎做例子…
作者: 清仔 時間: 2018-5-23 01:10
另外有無builder tool for react native view 嫁?
佢又唔係100% css… 無builder 真係幾惡頂(雖然可以自己腦內補完)…同埋無得分工比designer
作者: 清仔 時間: 2018-5-23 01:12
另外有無builder tool for react native view 嫁?
佢又唔係100% css… 無builder 真係幾惡頂(雖然可以自 ...
清仔 發表於 2018-5-23 01:10 AM
自己搵到…哈哈
https://www.decoide.org/
作者: 清仔 時間: 2018-5-23 01:16
https://facebook.github.io/react ... components-ios.html
component係咪用番swift/java 寫兩次?
作者: hihihi123hk 時間: 2018-5-23 02:22
本帖最後由 hihihi123hk 於 2018-5-23 02:26 編輯
回覆 31# 清仔
係寫兩次
我估有 90%+ 嘅人都只會用 Basic React Native Component 咁堆砌啲 XML 做新 Component (Abstraction),好少會自己寫。自己寫嘅一係就因為 Performance 先決、一係就 Community 無/伏、一係就本身 Basic React Native Component 唔夠用,例如 Google Map
Community 都有好多啲人堆砌好咗嘅 Widget 直接用,例如
https://github.com/react-native-training/react-native-elements
作者: 清仔 時間: 2018-5-23 02:30
回覆 清仔
係寫兩次
我估有 90%+ 嘅人都只會用 Basic React Native Component 咁堆砌啲 XML 做新 Compo ...
hihihi123hk 發表於 2018-5-23 02:22 AM
明白晒…!
作者: takayo72 時間: 2018-5-23 07:40
提示: 作者被禁止或刪除 內容自動屏蔽
作者: takayo72 時間: 2018-5-23 18:31
提示: 作者被禁止或刪除 內容自動屏蔽
作者: 清仔 時間: 2018-5-30 00:26
我覺得唔valid…因為e+ 好似唔寫寫jsx都得
作者: uberr2000 時間: 2018-6-14 11:39
我覺得react native係比寫開web野人用.好似我咁,寫開php,react+redux .然後要開發app就學react native ,好快就上手.同埋同一段code android ,ios都可以.十分好用.
作者: takayo72 時間: 2018-6-14 18:53
提示: 作者被禁止或刪除 內容自動屏蔽
作者: hihihi123hk 時間: 2018-6-15 11:21
師兄點睇flutter (我另一個post 有講)呢?
都係write once for all 嘅native mobile development platfor ...
takayo72 發表於 2018-5-23 07:40
flutter 寫唔到 custom native component,App 啲 UI 被限制咗係佢提供嘅 Basic Component
清水App 唔洗有 Fancy UI 突圍市場的話應該岩洗
via HKEPC IR Pro 3.4.0 - iOS(2.3.2)
作者: KwokAngus 時間: 2018-6-15 12:57
vuejs 應該試下Weex 依個native render engine
以front-end framework capabilities黎講,依一刻 Weex support vuejs, rax 兩套front-end framework
作者: stevenwong4321 時間: 2018-6-15 14:45
回覆 1# LEOWAI
js
作者: calckw 時間: 2018-7-1 15:18
回覆 清仔
係寫兩次
我估有 90%+ 嘅人都只會用 Basic React Native Component 咁堆砌啲 XML 做新 Compo ...
hihihi123hk 發表於 2018-5-23 02:22
用埋create-react-native-app(Expo) 之後就變得方便
作者: hihihi123hk 時間: 2018-7-1 23:03
方便到無 Mac 機嘅人又想試 iOS
via HKEPC IR Pro 3.4.0 - iOS(2.3.3)
作者: calckw 時間: 2018-7-2 18:49
publish上expo就可以用iOS機試

