Skip to content

Commit d5cfa0f

Browse files
committed
update
1 parent 7b5e48d commit d5cfa0f

11 files changed

+8
-120
lines changed

cndocs/fabric-native-components-android.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: fabric-native-components-android
3-
title: 'Fabric Native Modules: Android'
3+
title: 'Fabric 原生 UI 组件:Android'
44
---
55

66
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants';

cndocs/fabric-native-components-ios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: fabric-native-components-ios
3-
title: 'Fabric Native Components: iOS'
3+
title: 'Fabric 原生组件:iOS'
44
---
55

66
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants';

cndocs/fabric-native-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: fabric-native-components-introduction
3-
title: Fabric Native Components Introduction
3+
title: Fabric 原生 UI 组件
44
---
55

66
import Tabs from '@theme/Tabs';

cndocs/optimizing-javascript-loading.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ module.exports = {
166166
};
167167
```
168168

169-
See the documentation for [`getTransformOptions` in Metro](https://metrobundler.dev/docs/configuration#gettransformoptions) for more details on setting up and fine-tuning your inline `require`s.
170-
171169
查看 Metro 文档中的 [`getTransformOptions`](https://metrobundler.dev/docs/configuration#gettransformoptions) 以获取有关设置和微调内联 `require` 的更多详细信息。
172170

173171
## 高级:使用随机访问模块包(非 Hermes)

cndocs/profiling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ title: Profiling
1313

1414
## Profiling Android UI Performance with `systrace`
1515

16-
Android supports 10k+ different phones and is generalized to support software rendering: the framework architecture and need to generalize across many hardware targets unfortunately means you get less for free relative to iOS. But sometimes, there are things you can improve -- and many times it's not native code's fault at all!
16+
Android 支持 10k+ 不同的手机,并且为了支持软件渲染,框架架构需要跨多个硬件目标进行泛化。不幸的是,这意味着你相对于 iOS 获得的免费资源较少。但有时,你可以进行改进——而且很多时候根本不是原生代码的问题!
1717

18-
The first step for debugging this jank is to answer the fundamental question of where your time is being spent during each 16ms frame. For that, we'll be using a standard Android profiling tool called `systrace`.
18+
调试这种卡顿的第一步是回答每个 16ms 帧中你的时间花费在哪里。为此,我们将使用一个标准的 Android 性能分析工具 `systrace`
1919

2020
`systrace` is a standard Android marker-based profiling tool (and is installed when you install the Android platform-tools package). Profiled code blocks are surrounded by start/end markers which are then visualized in a colorful chart format. Both the Android SDK and React Native framework provide standard markers that you can visualize.
2121

cndocs/speeding-ci-builds.md

Lines changed: 0 additions & 54 deletions
This file was deleted.

cnwebsite/versioned_docs/version-0.76/fabric-native-components-android.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: fabric-native-components-android
3-
title: 'Fabric Native Modules: Android'
3+
title: 'Fabric 原生 UI 组件:Android'
44
---
55

66
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants';

cnwebsite/versioned_docs/version-0.76/fabric-native-components-ios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: fabric-native-components-ios
3-
title: 'Fabric Native Components: iOS'
3+
title: 'Fabric 原生组件:iOS'
44
---
55

66
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import constants from '@site/core/TabsConstants';

cnwebsite/versioned_docs/version-0.76/fabric-native-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: fabric-native-components-introduction
3-
title: Fabric Native Components Introduction
3+
title: Fabric 原生 UI 组件
44
---
55

66
import Tabs from '@theme/Tabs';

cnwebsite/versioned_docs/version-0.76/optimizing-javascript-loading.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ module.exports = {
166166
};
167167
```
168168

169-
See the documentation for [`getTransformOptions` in Metro](https://metrobundler.dev/docs/configuration#gettransformoptions) for more details on setting up and fine-tuning your inline `require`s.
170-
171169
查看 Metro 文档中的 [`getTransformOptions`](https://metrobundler.dev/docs/configuration#gettransformoptions) 以获取有关设置和微调内联 `require` 的更多详细信息。
172170

173171
## 高级:使用随机访问模块包(非 Hermes)

0 commit comments

Comments
 (0)