diff --git a/src/components/Layout/HomeContent.js b/src/components/Layout/HomeContent.js index 9cc26bdaa..f58876c1c 100644 --- a/src/components/Layout/HomeContent.js +++ b/src/components/Layout/HomeContent.js @@ -143,7 +143,7 @@ export function HomeContent() { React
- The library for web and native user interfaces + 用於網頁與原生使用者介面的函式庫
Thumbnail, LikeButton, and{' '}
- Video. Then combine them into entire screens, pages,
- and apps.
+ React 讓你以稱為「元件」的獨立部分來建立使用者介面。
+ 你也可以建立自己的 React 元件,例如: Thumbnail、
+ LikeButton和 Video。
+ 接著將它們組合成完整的畫面、頁面與應用程式。
if statement.
- Displaying a list? Try array map(). Learning React is
- learning programming.
+ React 元件是使用 JavaScript 函式。 想要依條件顯示內容嗎?使用{' '}
+ if 陳述式; 想要顯示一個列表嗎?試試陣列的{' '}
+ map()。 學習 React,就是在學習程式設計。
- People expect web app pages to load fast. On the server, - React lets you start streaming HTML while you’re still - fetching data, progressively filling in the remaining - content before any JavaScript code loads. On the client, - React can use standard web APIs to keep your UI - responsive even in the middle of rendering. + 使用者期望網頁應用程式能快速載入。 在伺服器端,React + 允許你在仍在擷取資料時就開始串流傳送 HTML, 並在 + JavaScript 程式碼載入前逐步填入剩餘內容。 + 在用戶端,React 可以利用標準的 Web API, + 讓你的介面即使在渲染過程中也能保持即時回應。
- People expect native apps to look and feel like their - platform.{' '} + 人們期望原生應用程式在外觀與操作上都能符合各自的平台{' '} React Native {' '} - and{' '} + 和{' '} Expo{' '} - let you build apps in React for Android, iOS, and - more. They look and feel native because their UIs{' '} - are truly native. It’s not a web view—your - React components render real Android and iOS views - provided by the platform. + 讓你能使用 React 來開發 Android、iOS + 以及更多平台的應用程式。 + 它們在外觀和操作如同原生應用程式,因為它們的使用者介面是真正的原生 + UI。 這並非透過網頁開啟,而是React + 元件直接渲染出平台所提供的原生 Android 與 iOS 畫面。