Skip to content

Commit 2428812

Browse files
committed
Testing SSH signing
1 parent 922b95d commit 2428812

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cndocs/hermes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import M1Cocoapods from './\_markdown-m1-cocoapods.mdx';
1313

1414
首先请确保你运行的 React Native 版本在 0.60.4 或以上。
1515

16-
If you have an existing app based on an earlier version of React Native, you will have to upgrade it first. See [Upgrading to new React Native Versions](/docs/upgrading) for how to do this. After upgrading the app, make sure everything works before trying to switch to Hermes.
16+
如果你现有的项目运行的是较老的版本,那么必须要先升级。See [Upgrading to new React Native Versions](/docs/upgrading) for how to do this. After upgrading the app, make sure everything works before trying to switch to Hermes.
1717

1818
:::关于兼容性的注意事项
1919
Each Hermes release is aimed at a specific RN version. The rule of thumb is to always follow [Hermes releases](https://github.com/facebook/hermes/releases) strictly. Version mismatch can result in instant crash of your apps in the worst case scenario.

cndocs/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ module.exports = {
8686

8787
## 用 TypeScript 写 React Native 的示例
8888

89-
You can provide an interface for a React Component's [Props][props] and [State][state] via `React.Component<Props, State>` which will provide type-checking and editor auto-completing when working with that component in JSX.
89+
可以用`interface`来为 React 的函数组件编写[Props][props]的类型(使用`React.FC<Props>`)。这样在后续编码的过程中,编辑器就会根据这一类型来做类型检查并提供自动补全。
9090

9191
```tsx
9292
// components/Hello.tsx

0 commit comments

Comments
 (0)