Skip to content

Commit b05ffc1

Browse files
authored
docs(learn/react-compiler/introduction): add Heading translate (#1921)
1 parent 11471ed commit b05ffc1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/learn/react-compiler/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ React 编译器是一个新的构建时工具,它可以自动优化你的 Reac
1616

1717
</YouWillLearn>
1818

19-
## What does React Compiler do? {/*what-does-react-compiler-do*/}
19+
## React 编译器有什么作用?{/*what-does-react-compiler-do*/}
2020

2121
React 编译器会在构建时自动优化你的 React 应用。通常情况下,即使不进行优化,React 的性能也已经足够快,但有时你需要手动对组件和值进行记忆化(memoization)以保持应用的响应速度。这种手动记忆化既繁琐又容易出错,并且会增加需要维护的额外代码。React 编译器为你自动完成这些优化,减轻了你的思维负担,使你可以专注于功能的开发。
2222

0 commit comments

Comments
 (0)