Skip to content

Commit

Permalink
Testing SSH signing
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnylqm committed Oct 12, 2022
1 parent 922b95d commit 2428812
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cndocs/hermes.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import M1Cocoapods from './\_markdown-m1-cocoapods.mdx';

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

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.
如果你现有的项目运行的是较老的版本,那么必须要先升级。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.

:::关于兼容性的注意事项
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.
Expand Down
2 changes: 1 addition & 1 deletion cndocs/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = {

## 用 TypeScript 写 React Native 的示例

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.
可以用`interface`来为 React 的函数组件编写[Props][props]的类型(使用`React.FC<Props>`)。这样在后续编码的过程中,编辑器就会根据这一类型来做类型检查并提供自动补全。

```tsx
// components/Hello.tsx
Expand Down

0 comments on commit 2428812

Please sign in to comment.