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

translate reference react dom server document #114

Merged
merged 7 commits into from Feb 23, 2019

Conversation

sasurau4
Copy link
Contributor

This PR is part of #4


とりあえず、render は変換で訳してみました
レビューお願いします 🙏

@smikitky smikitky self-requested a review February 12, 2019 09:50
@tesseralis tesseralis mentioned this pull request Feb 19, 2019
90 tasks
@netlify
Copy link

netlify bot commented Feb 20, 2019

Deploy preview for ja-reactjs ready!

Built with commit 3668084

https://deploy-preview-114--ja-reactjs.netlify.com

@potato4d potato4d self-requested a review February 20, 2019 01:53
@potato4d potato4d added the 🚫 in intial review 初期レビューの真っ最中 label Feb 20, 2019
Copy link
Member

@potato4d potato4d left a comment

Choose a reason for hiding this comment

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

@sasurau4

翻訳お疲れ様です 🙏
render を変換と訳すと、なるほど読みやすいドキュメントになっている気がします。

いくつか変更点をチェックしたので、機械的な部分は修正を、 imo はお好みの部分を取り込んでいただけると!

content/docs/reference-react-dom-server.md Outdated Show resolved Hide resolved
content/docs/reference-react-dom-server.md Outdated Show resolved Hide resolved
content/docs/reference-react-dom-server.md Outdated Show resolved Hide resolved
@potato4d potato4d removed the 🚫 in intial review 初期レビューの真っ最中 label Feb 20, 2019
@sasurau4
Copy link
Contributor Author

@potato4d レビューありがとうございます 🙏
imo, 取り込ませていただきました 👍

Copy link
Member

@potato4d potato4d left a comment

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.

@sasurau4 ちょっとした言い回しの調整が中心ですがコメントしたので確認お願いします 🙇

content/docs/reference-react-dom-server.md Outdated Show resolved Hide resolved
content/docs/reference-react-dom-server.md Outdated Show resolved Hide resolved
@@ -79,14 +79,14 @@ If you call [`ReactDOM.hydrate()`](/docs/react-dom.html#hydrate) on a node that
ReactDOMServer.renderToStaticNodeStream(element)
```

Similar to [`renderToNodeStream`](#rendertonodestream), except this doesn't create extra DOM attributes that React uses internally, such as `data-reactroot`. This is useful if you want to use React as a simple static page generator, as stripping away the extra attributes can save some bytes.
React が内部的に使用する `data-reactroot` のような追加の DOM 属性を作成しないことを除いて、[`renderToNodeStream`](#rendertonodestream) と同様の動作をします。このメソッドはシンプルな静的ページを生成するのに React を使用したい場合に便利で、追加の属性を省略することでバイト数を削減できます。
Copy link
Member

Choose a reason for hiding this comment

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

simpleはgeneratorに掛っていると思ったので言い回しを調整してみましたが如何でしょうか?

Suggested change
React が内部的に使用する `data-reactroot` のような追加の DOM 属性を作成しないことを除いて、[`renderToNodeStream`](#rendertonodestream) と同様の動作をします。このメソッドはシンプルな静的ページを生成するのに React を使用したい場合に便利で、追加の属性を省略することでバイト数を削減できます。
React が内部的に使用する `data-reactroot` のような追加の DOM 属性を作成しないことを除いて、[`renderToNodeStream`](#rendertonodestream) と同様の動作をします。このメソッドは単純な静的ページジェネレーターとして React を使用したい場合に便利で、追加の属性を省略することでバイト数を削減できます。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

前回、potato4dさんから入った指摘を修正忘れていたのに気づいたので、それに沿ってfixしました 👍

@sasurau4
Copy link
Contributor Author

@koba04 レビューありがとうございます! IMO、取り込ませていただきました 👍

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.

@sasurau4 👍 対応ありがとうございます!!

@koba04 koba04 merged commit a60632f into reactjs:master Feb 23, 2019
@koba04
Copy link
Member

koba04 commented Feb 23, 2019

@sasurau4 mergeしました 🚀🚀🚀 ありがとうございます! 🎉🎉

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

4 participants