Skip to content

Commit b31e07c

Browse files
authored
Update src/content/learn/react-compiler/debugging.md
1 parent 439a570 commit b31e07c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function ProblematicComponent() {
6565

6666
如果问题消失,则很可能与违反 React 规则有关。
6767

68-
你还可以尝试从问题组件中移除手动的 memoization(useMemo、useCallbackmemo),以验证在没有任何 memoization 的情况下应用程序是否能正常工作。如果在所有 memoization 都被移除后问题仍然存在,则说明存在需要修复的 React 规则违反情况。
68+
你还可以尝试从问题组件中移除手动的 memoization(useMemo、useCallbackmemo),以验证在没有任何 memoization 的情况下应用程序是否能正常工作。如果在所有 memoization 都被移除后问题仍然存在,则说明存在需要修复的 React 规则违反情况。
6969

7070
### 2. 逐步修复问题 {/*fix-issues-step-by-step*/}
7171

0 commit comments

Comments
 (0)