diff --git a/src/components/Layout/HomeContent.js b/src/components/Layout/HomeContent.js index 5ff366d31..9e2263255 100644 --- a/src/components/Layout/HomeContent.js +++ b/src/components/Layout/HomeContent.js @@ -131,7 +131,7 @@ export function HomeContent() { React

- The library for web and native user interfaces + Web とネイティブユーザインターフェースのためのライブラリ

- Learn React + label="React を学ぶ"> + React を学ぶ - API Reference + label="API リファレンス"> + API リファレンス
-
Create user interfaces from components
+
+ コンポーネントから +
+ ユーザインターフェースを作成 +
- React lets you build user interfaces out of individual pieces - called components. Create your own React components like{' '} - Thumbnail, LikeButton, and{' '} - Video. Then combine them into entire screens, pages, - and apps. + React ではユーザインターフェースを、{} + コンポーネントと呼ばれる部品を使って構築できます。 + ThumbnailLikeButton、 + Video + といった React コンポーネントを書き、{} + それらを組み合わせて画面やページやアプリの全体を組み立てましょう。
@@ -169,22 +174,27 @@ export function HomeContent() {
- Whether you work on your own or with thousands of other - developers, using React feels the same. It is designed to let you - seamlessly combine components written by independent people, - teams, and organizations. + 独りで開発していても、数千の開発者と共同開発していても、{} + React の開発体験は同じです。個人、チーム、大規模な組織によって{} + 書かれさまざまなコンポーネントを、シームレスに組み合わせながら{} + 開発できる。それが React の設計理念です。
-
Write components with code and markup
+
+ マークアップとコードから +
+ コンポーネントを作成 +
- React components are JavaScript functions. Want to show some - content conditionally? Use an if statement. - Displaying a list? Try array map(). Learning React is - learning programming. + React コンポーネントは単なる JavaScript の関数です。{} + 条件によってコンテンツの表示を変えたければ if{' '} + 文を使いましょう! リストを表示したいなら配列の map(){' '} + を使いましょう! React + を学ぶということは、プログラミングを学ぶということなのです。
@@ -192,22 +202,27 @@ export function HomeContent() {
- This markup syntax is called JSX. It is a JavaScript syntax - extension popularized by React. Putting JSX markup close to - related rendering logic makes React components easy to create, - maintain, and delete. + このマークアップ構文は JSX と呼ばれます。React が普及させた + JavaScript の構文拡張です。JSX マークアップは関連する{} + レンダリングロジックのすぐそばに配置できるので、React + コンポーネントは簡単に作成、保守、削除ができます。
-
Add interactivity wherever you need it
+
+ インタラクティブ機能を +
+ どこでも必要な場所に +
- React components receive data and return what should appear on the - screen. You can pass them new data in response to an interaction, - like when the user types into an input. React will then update the - screen to match the new data. + React + コンポーネントはデータを受け取り、画面に表示するものを返します。{} + 入力フィールドへのタイピングなどのユーザ操作によって{} + 新しいデータができたら、コンポーネントにそれを渡します。{} + React が新しいデータに基づいて画面を更新します。
@@ -215,16 +230,16 @@ export function HomeContent() {
- You don’t have to build your whole page in React. Add React to - your existing HTML page, and render interactive React components - anywhere on it. + ページ全体を React で構築する必要はありません。既存の HTML + ページに React を追加すれば、どんな場所にでもインタラクティブな + React コンポーネントを表示できます。
- Add React to your page + 既存のページに React を追加する
@@ -233,15 +248,18 @@ export function HomeContent() {
- Go full-stack
- with a framework + フレームワークで +
+ フルスタックな開発を
- React is a library. It lets you put components together, but it - doesn’t prescribe how to do routing and data fetching. To build an - entire app with React, we recommend a full-stack React framework - like Next.js or{' '} - Remix. + React はライブラリです。{} + コンポーネントを組み合わせることはできますが、{} + ルーティングやデータフェッチの方法までは指定しません。{} + React でアプリ全体を構築する場合は、{} + Next.js や{' '} + Remix{' '} + のようなフルスタックのフレームワークをお勧めします。
@@ -249,17 +267,18 @@ export function HomeContent() {
- React is also an architecture. Frameworks that implement it let - you fetch data in asynchronous components that run on the server - or even during the build. Read data from a file or a database, and - pass it down to your interactive components. + React とはアーキテクチャでもあります。{} + フレームワークでは、サーバやビルド時に動作する{} + 非同期コンポーネントを使ってデータの取得が可能です。{} + ファイルやデータベースからデータを読み込んで、{} + インタラクティブなコンポーネントに渡しましょう。
- Get started with a framework + フレームワークで始める
@@ -267,12 +286,19 @@ export function HomeContent() {
-
Use the best from every platform
+
+ あらゆるプラットフォームの +
+ 能力を最大限に活用 +
- People love web and native apps for different reasons. React - lets you build both web apps and native apps using the same - skills. It leans upon each platform’s unique strengths to let - your interfaces feel just right on every platform. + 人々はウェブを愛し、そしてネイティブアプリを愛しています。{} + その理由は様々です。{} + React + を使えば、同じスキルを使ってウェブアプリとネイティブアプリの{} + 両方を構築できます。{} + 各プラットフォームが持つ独自の強みを活かし、{} + どんなプラットフォームにおいても自然なインターフェースを実現します。
@@ -286,15 +312,17 @@ export function HomeContent() {

- Stay true to the web + ウェブの本質に忠実に

- 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 + を使用して、レンダーの最中でも UI の応答性を保ちます。

@@ -372,21 +400,23 @@ export function HomeContent() {

- Go truly native + 真にネイティブな体験を実現

- 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 のビューを表示できます。

@@ -396,14 +426,16 @@ export function HomeContent() {
- With React, you can be a web and a native developer. Your - team can ship to many platforms without sacrificing the user - experience. Your organization can bridge the platform silos, and - form teams that own entire features end-to-end. + React を使えば、{} + ウェブ開発者にもネイティブアプリ開発者にもなれるのです。{} + ユーザー体験を犠牲にすることなく、{} + 多くのプラットフォームでリリースを行えます。{} + ひとつのプラットフォームに縛られることなく、{} + すべての機能をエンドツーエンドで担当するチームを作れます。
- Build for native platforms + ネイティブプラットフォーム向けに開発する
@@ -414,23 +446,29 @@ export function HomeContent() {
-
Upgrade when the future is ready
+
+ 完成した機能だけが +
+ リリースされる +
- React approaches changes with care. Every React commit is - tested on business-critical surfaces with over a billion - users. Over 100,000 React components at Meta help validate - every migration strategy. + React は開発アプローチの変更に慎重に取り組みます。{} + すべてのコミットは 10 億人以上のユーザによる{} + ビジネスクリティカルな環境においてテストされます。{} + Meta にある 10 万以上の React コンポーネントが、{} + すべての移行戦略の検証を支援します。
- The React team is always researching how to improve React. - Some research takes years to pay off. React has a high bar - for taking a research idea into production. Only proven - approaches become a part of React. + React チームは、常に React + を改善する方法を模索していますが、{} + 研究によっては成果が出るまでに何年もかかることもあります。{} + 研究のアイデアをリリースするまでの高いハードルを越えた、{} + 実証済みのアプローチだけが React の一部となるのです。
- Read more React news + React のニュースを読む
@@ -438,7 +476,7 @@ export function HomeContent() {

- Latest React News + 最新の React ニュース

@@ -469,13 +507,14 @@ export function HomeContent() {
- Join a community
- of millions + 数百万人の +
+ コミュニティに参加しよう
- You’re not alone. Two million developers from all over the - world visit the React docs every month. React is something - that people and teams can agree on. + あなたは 1 人ではありません。世界中から毎月 200 万人の開発者が + React ドキュメントに訪れています。{} + 人々とチームが共感できる技術、それが React なのです。
@@ -483,13 +522,14 @@ export function HomeContent() {
- This is why React is more than a library, an architecture, or - even an ecosystem. React is a community. It’s a place where - you can ask for help, find opportunities, and meet new - friends. You will meet both developers and designers, - beginners and experts, researchers and artists, teachers and - students. Our backgrounds may be very different, but React - lets us all create user interfaces together. + React は単なるライブラリやアーキテクチャ、{} + あるいはエコシステムという以上の存在です。{} + React とはコミュニティです。{} + ヘルプを求め、チャンスを見つけ、新しい友人に会える場所です。{} + 開発者やデザイナ、初心者やエキスパート、{} + 研究者やアーティスト、教師や学生と出会える場所です。{} + 私たちのバックグラウンドはさまざまですが、React を通じて皆で{} + ユーザーインターフェースの創造に取り組んでいるのです。
@@ -498,15 +538,16 @@ export function HomeContent() {
- Welcome to the
- React community + React コミュニティに +
+ ようこそ!
- Get Started + はじめる