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

docs(cn): translate reference/rsc/server-components into Chinese #1648

Merged

Conversation

ThisIsLoui
Copy link
Contributor

@Yucohny @loveloki @awxiaoxian2020 Please review my translation. If there's any error or typo, please let me know, I'll fix as soon as possible.

Copy link

vercel bot commented Dec 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zh-hans-react-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 30, 2024 8:24am

Copy link

github-actions bot commented Dec 29, 2024

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

Five Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/404 108.52 KB (🟡 +13 B) 212.94 KB
/500 108.51 KB (🟡 +13 B) 212.93 KB
/[[...markdownPath]] 110.5 KB (🟡 +21 B) 214.92 KB
/errors 108.73 KB (🟡 +13 B) 213.15 KB
/errors/[errorCode] 108.71 KB (🟡 +13 B) 213.13 KB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 10% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

src/content/reference/rsc/server-components.md Outdated Show resolved Hide resolved
src/content/reference/rsc/server-components.md Outdated Show resolved Hide resolved
src/content/reference/rsc/server-components.md Outdated Show resolved Hide resolved
src/content/reference/rsc/server-components.md Outdated Show resolved Hide resolved
src/content/reference/rsc/server-components.md Outdated Show resolved Hide resolved
src/content/reference/rsc/server-components.md Outdated Show resolved Hide resolved
src/content/reference/rsc/server-components.md Outdated Show resolved Hide resolved
src/content/reference/rsc/server-components.md Outdated Show resolved Hide resolved
src/content/reference/rsc/server-components.md Outdated Show resolved Hide resolved
src/content/reference/rsc/server-components.md Outdated Show resolved Hide resolved
@ThisIsLoui
Copy link
Contributor Author

@loveloki 谢谢校正,我重新提交了一次 commit,错误都按照你的评论修正好了,然后 77 行和 262 行的翻译做了一些调整,辛苦你再校对一下

@loveloki
Copy link
Collaborator

提醒一下:

  1. 修改过并且没有问题的评论可以直接关闭掉。
  2. 并不是每个评论都按照意见需要修改,有时候提的评论不一定是正确的,有异议的话就直接提出来。。
  3. 对于提供了建议并且无意义的代码,可以直接按按钮提交修改。不用整理在一起提交,这样浪费时间。

@loveloki loveloki merged commit dd63f39 into reactjs:main Dec 30, 2024
8 checks passed
@loveloki
Copy link
Collaborator

Thanks!

@ThisIsLoui
Copy link
Contributor Author

提醒一下:

  1. 修改过并且没有问题的评论可以直接关闭掉。
  2. 并不是每个评论都按照意见需要修改,有时候提的评论不一定是正确的,有异议的话就直接提出来。。
  3. 对于提供了建议并且无意义的代码,可以直接按按钮提交修改。不用整理在一起提交,这样浪费时间。

好的,谢谢提醒

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.

2 participants