Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with reactjs.org @ 68e4efcf #416

Merged
merged 26 commits into from Jun 15, 2021
Merged

Sync with reactjs.org @ 68e4efcf #416

merged 26 commits into from Jun 15, 2021

Conversation

reactjs-translation-bot
Copy link
Contributor

@reactjs-translation-bot reactjs-translation-bot commented Jun 7, 2021

This PR was automatically generated.

Merge changes from reactjs.org at 68e4efc

The following files have conflicts and may need new translations:

Please fix the conflicts by pushing new commits to this pull request, either by editing the files directly on GitHub or by checking out this branch.

DO NOT SQUASH MERGE THIS PULL REQUEST!

Doing so will "erase" the commits from master and cause them to show up as conflicts the next time we merge.

pvinis and others added 22 commits April 8, 2021 15:53
Co-authored-by: Ethan Yang <yuxaing.yang@amh-group.com>
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
Co-authored-by: Nancy Heiss <noreply>
(`setup` is the noun form and `set up` is the verb form.)
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
…gned (#3701)

in CodePen it is 'prevState' and in the tutorial, it is 'state', which creates confusion.
@netlify
Copy link

netlify bot commented Jun 7, 2021

✔️ Deploy Preview for ja-reactjs ready!

🔨 Explore the source changes: 7d0a973

🔍 Inspect the deploy log: https://app.netlify.com/sites/ja-reactjs/deploys/60c7ff89855ebd000747f10c

😎 Browse the preview: https://deploy-preview-416--ja-reactjs.netlify.app

@smikitky
Copy link
Member

@koba04 @potato4d よろしくお願いします

Comment on lines 178 to 179
> React 17 以前は、標準の [User Timing API](https://developer.mozilla.org/en-US/docs/Web/API/User_Timing_API) を用いて Chrome のパフォーマンスタブでコンポーネントのプロファイリングを行います。
> これについての概要は [Ben Schwarz によるこの記事](https://calibreapp.com/blog/react-performance-profiling-optimization)を参照してください。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここについては実際にどんな変更が起きたのか理解せず訳したので間違っているかもしれません。ご存知でしたらご確認いただけますでしょうか

Copy link
Member

@koba04 koba04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

いつもありがとうございます!!👍 2 点だけコメントしました。

@@ -21,6 +21,10 @@ next: concurrent-mode-reference.html
>
> このドキュメントは興味のある読者やアーリーアダプター向けのものです。**React が初めての方はこれらの機能を気にしないで構いません** -- 今すぐに学ぶ必要はありません。

>Caution:
>
>All references below to "blocking mode" and `createBlockingRoot` are outdated and should be ignored.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smikitky こちらは翻訳もれでしょうか?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

コンフリクトが出ないと見逃しがちですね…すみません

(でも最新だとそもそも Concurrent Mode 自体ナビゲーションから消えてますね…)

@@ -199,6 +173,11 @@ React DevTools をまだインストールしていない場合は、以下で
> 本番ビルド版 `react-dom` のプロファイリング可能なバンドルとして `react-dom/profiling` が利用可能です。
> このバンドルの使い方の詳細については、[fb.me/react-profiling](https://fb.me/react-profiling) を参照してください。

> 捕捉
>
> React 17 以前は、標準の [User Timing API](https://developer.mozilla.org/en-US/docs/Web/API/User_Timing_API) を用いて Chrome のパフォーマンスタブでコンポーネントのプロファイリングを行います。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> React 17 以前は、標準の [User Timing API](https://developer.mozilla.org/en-US/docs/Web/API/User_Timing_API) を用いて Chrome のパフォーマンスタブでコンポーネントのプロファイリングを行います。
> React 17 より前は、標準の [User Timing API](https://developer.mozilla.org/en-US/docs/Web/API/User_Timing_API) を用いて Chrome のパフォーマンスタブでコンポーネントのプロファイリングを行います。

facebook/react#18417

こちらの PR で削除された機能で、Dev mode の時に User Timing API でコンポーネントのレンダリングにかかった時間を表示していた機能で、これによりブラウザの Performance Panel 上でどのコンポーネントにどれくらいかかったのかがはわかるようになっていました。なので翻訳としては間違ってないと思います。
ただ v17 で削除されたので 17 以前ではなく 16 以前となるのでその点だと suggest しました。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

じゃあもういっそ過去形で訳してしまいますね…

Copy link
Member

@koba04 koba04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 対応ありがとうございました!

@koba04 koba04 merged commit f845590 into master Jun 15, 2021
@koba04 koba04 deleted the sync-68e4efcf branch June 15, 2021 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet