Skip to content

Commit

Permalink
docs(en): merge reactjs.org/main into zh-hans.reactjs.org/main @ c45fa10
Browse files Browse the repository at this point in the history
  • Loading branch information
awxiaoxian2020 authored Oct 5, 2023
2 parents 1d2b348 + 0322c72 commit fd67de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/react/cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ function App() {
如果以上问题都不适用,那么可能是与 React 检查缓存中是否存在内容的方式有关。
如果参数不是原始数据类型(例如对象、函数、数组),请确保传递的是相同的对象引用。
如果参数不是原始数据类型(https://developer.mozilla.org/zh-CN/docs/Glossary/Primitive)(例如对象、函数、数组),请确保传递的是相同的对象引用。
在调用记忆化函数时,React 将查找输入参数,以查看是否已经缓存了结果。React 将使用浅相等确定是否存在缓存。
Expand Down

0 comments on commit fd67de2

Please sign in to comment.