docs: complete Chinese translation for Activity component #1882
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
摘要 (Summary)
完成了
<Activity>组件文档的完整简体中文翻译。Completed the full Simplified Chinese translation for the
<Activity>component documentation.改动类型 (Type of Change)
改动内容 (Key Changes)
我已将
<Activity>组件的所有相关页面翻译完毕,主要包括:mode属性(visible和hidden)的行为说明。<Activity>来保留离屏组件状态的示例。翻译细节说明 (Translation Details)
在翻译过程中,我严格遵循了 React 中文术语表,重点处理了以下核心概念:
mode="hidden"时,状态会被保留在内存中。示例代码核对 (Code Snippet Check)
翻译后的代码注释已同步更新,确保中文开发者能清晰理解逻辑: