Skip to content

Commit

Permalink
Update src/content/reference/rules/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: Xavi Lee <awxiaoxian2020@163.com>
  • Loading branch information
Yucohny and awxiaoxian2020 authored Mar 19, 2024
1 parent bc7d9e9 commit f44c196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/rules/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ title: React 规则
要了解更多有关使用 React 表达 UI 的信息,我们建议阅读 [React 哲学](/learn/thinking-in-react)
</Note>

本节描述需要遵循的规则,以编写俗语化的 React 代码。编写俗语化的 React 代码可以帮助编写组织良好、安全、可组合的应用程序。这些特性使应用程序更具抗变性,并且更易于与其他开发人员、库和工具一起使用。
本节描述需要遵循的规则,以编写地道的 React 代码。编写俗语化的 React 代码可以帮助编写组织良好、安全、可组合的应用程序。这些特性使应用程序更具抗变性,并且更易于与其他开发人员、库和工具一起使用。

这些规则被称为 **React 规则**。它们是规则而不仅仅是指南,因为如果它们被破坏,应用程序可能会有错误、代码也会变得不俗语化,更难以理解和推理。

Expand Down

0 comments on commit f44c196

Please sign in to comment.