Skip to content

Commit fcbe09a

Browse files
committed
Resolve conflicts
1 parent ea91413 commit fcbe09a

File tree

3 files changed

+2
-23
lines changed

3 files changed

+2
-23
lines changed

beta/src/content/learn/your-first-component.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,7 @@ img { height: 181px; }
296296

297297
<Hint>
298298

299-
<<<<<<< HEAD
300299
もしかしたら修正途中で "Unexpected token" というエラーが出るかもしれません。その場合はセミコロンが閉じ括弧の**にあることを確認してください。`return ( )` の中にセミコロンが残っているとエラーになります。
301-
=======
302-
You may get an "Unexpected token" error while trying to fix this. In that case, check that the semicolon appears *after* the closing parenthesis. Leaving a semicolon inside `return ( )` will cause an error.
303-
>>>>>>> 19aa5b4852c3905757edb16dd62f7e7506231210
304300

305301
</Hint>
306302

content/docs/higher-order-components.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@ const EnhancedComponent = higherOrderComponent(WrappedComponent);
1414

1515
コンポーネントが props を UI に変換するのに対して、高階コンポーネントはコンポーネントを別のコンポーネントに変換します。
1616

17-
<<<<<<< HEAD
18-
HOC は Redux における [`connect`](https://github.com/reactjs/react-redux/blob/master/docs/api/connect.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options) や Relay における [`createFragmentContainer`](https://relay.dev/docs/v10.1.3/fragment-container/#createfragmentcontainer) のように、サードパーティ製の React ライブラリでは一般的なものです。
19-
=======
20-
HOCs are common in third-party React libraries, such as Redux's [`connect`](https://react-redux.js.org/api/connect) and Relay's [`createFragmentContainer`](https://relay.dev/docs/v10.1.3/fragment-container/#createfragmentcontainer).
21-
>>>>>>> 19aa5b4852c3905757edb16dd62f7e7506231210
17+
HOC は Redux における [`connect`](https://react-redux.js.org/api/connect) や Relay における [`createFragmentContainer`](https://relay.dev/docs/v10.1.3/fragment-container/#createfragmentcontainer) のように、サードパーティ製の React ライブラリでは一般的なものです。
2218

2319
このドキュメントでは、なぜ高階コンポーネントが便利で、自身でどのように記述するのかを説明します。
2420

content/docs/how-to-contribute.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -84,29 +84,16 @@ Issue を解決することにした場合、誰かがすでに修正に取り
8484

8585
**プルリクエストを送信する前に、**以下のプロセスが行われているか確認してください:
8686

87-
<<<<<<< HEAD
8887
1. [リポジトリ](https://github.com/facebook/react) をフォークして `main` から新しいブランチを作成します。
8988
2. `yarn` コマンドをリポジトリルートで実行します。
9089
3. バグを修正したり、テストが必要なコードを追加した場合は、テストを追加します。
9190
4. テストスイートが通ることを確認してください (`yarn test`)。ヒント: `yarn test --watch TestName` コマンドは開発時に役立ちます。
9291
5. 本番環境でテストするために `yarn test --prod` コマンドを実行します。
93-
6. デバッガが必要な場合は `yarn debug-test --watch TestName` を実行し `chrome://inspect` を開き "Inspect" を押してください。
92+
6. デバッガが必要な場合は `yarn test --debug --watch TestName` を実行し `chrome://inspect` を開き "Inspect" を押してください。
9493
7. [prettier](https://github.com/prettier/prettier) でコードをフォーマットします (`yarn prettier`)。
9594
8. リントを行います (`yarn lint`)。ヒント: `yarn linc` は変更されたファイルのみに適用できます。
9695
9. [Flow](https://flowtype.org/) による型チェックを行います (`yarn flow`)。
9796
10. まだの場合は、先に CLA (Contributor License Agreement) の提出を済ませます。
98-
=======
99-
1. Fork [the repository](https://github.com/facebook/react) and create your branch from `main`.
100-
2. Run `yarn` in the repository root.
101-
3. If you've fixed a bug or added code that should be tested, add tests!
102-
4. Ensure the test suite passes (`yarn test`). Tip: `yarn test --watch TestName` is helpful in development.
103-
5. Run `yarn test --prod` to test in the production environment.
104-
6. If you need a debugger, run `yarn test --debug --watch TestName`, open `chrome://inspect`, and press "Inspect".
105-
7. Format your code with [prettier](https://github.com/prettier/prettier) (`yarn prettier`).
106-
8. Make sure your code lints (`yarn lint`). Tip: `yarn linc` to only check changed files.
107-
9. Run the [Flow](https://flowtype.org/) typechecks (`yarn flow`).
108-
10. If you haven't already, complete the CLA.
109-
>>>>>>> 19aa5b4852c3905757edb16dd62f7e7506231210
11097

11198
### Contributor License Agreement (CLA) {#contributor-license-agreement-cla}
11299

0 commit comments

Comments
 (0)