-
Notifications
You must be signed in to change notification settings - Fork 182
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
Conversation
74812b1
to
2a8066d
Compare
Deploy preview for ja-reactjs ready! Built with commit 3668084 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
翻訳お疲れ様です 🙏
render を変換と訳すと、なるほど読みやすいドキュメントになっている気がします。
いくつか変更点をチェックしたので、機械的な部分は修正を、 imo はお好みの部分を取り込んでいただけると!
@potato4d レビューありがとうございます 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
お疲れ様でした!よさそうです。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sasurau4 ちょっとした言い回しの調整が中心ですがコメントしたので確認お願いします 🙇
@@ -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 を使用したい場合に便利で、追加の属性を省略することでバイト数を削減できます。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
simpleはgeneratorに掛っていると思ったので言い回しを調整してみましたが如何でしょうか?
React が内部的に使用する `data-reactroot` のような追加の DOM 属性を作成しないことを除いて、[`renderToNodeStream`](#rendertonodestream) と同様の動作をします。このメソッドはシンプルな静的ページを生成するのに React を使用したい場合に便利で、追加の属性を省略することでバイト数を削減できます。 | |
React が内部的に使用する `data-reactroot` のような追加の DOM 属性を作成しないことを除いて、[`renderToNodeStream`](#rendertonodestream) と同様の動作をします。このメソッドは単純な静的ページジェネレーターとして React を使用したい場合に便利で、追加の属性を省略することでバイト数を削減できます。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
前回、potato4dさんから入った指摘を修正忘れていたのに気づいたので、それに沿ってfixしました 👍
@koba04 レビューありがとうございます! IMO、取り込ませていただきました 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sasurau4 👍 対応ありがとうございます!!
@sasurau4 mergeしました 🚀🚀🚀 ありがとうございます! 🎉🎉 |
This PR is part of #4
とりあえず、
render
は変換で訳してみましたレビューお願いします 🙏