or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
React Native 兩種開發專案類型
tags:
React Native
Tutorial
React Native 有 2 種方式,可選擇其中一種開發方式
Expo
無需設定環境即可開發雙平台的架構,Exop 已經安裝好執行環境,可以免除建置開發 Android 跟 iOS 環境的需求,非常方便學習及練習用,但相對的缺點就是如果用 Expo 開發時,若要針對 Native 去撰寫一些客製化的功能可能會比較麻煩。
因次建議初學者可以使用 Expo 學習 React Native 的開發方式,或是評估目標 APP 只會使用到簡單的功能都有包含在 Exop SDK 下。
因為 Expo Build 的時候是使用 EAS 的建立方式,不是根據 Android 與 iOS 原生的建置方式。
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →React Native CLI
可以很彈性的使用 React Native 去開發,也可以針對各平台的 Native code 去客製化撰寫,但是需要事先建立好個別的開發環境( 例如 Android / iOS )。
本教學文章是以 RN CLI 為教學內容做說明。