Skip to content

Commit be97b7e

Browse files
docs: fix markdown link (#1759)
Co-authored-by: Xavi Lee <awxiaoxian2020@163.com>
1 parent a468e85 commit be97b7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/cache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ function App() {
414414

415415
如果以上问题都不适用,那么可能是与 React 检查缓存中是否存在内容的方式有关。
416416

417-
如果参数不是原始数据类型(https://developer.mozilla.org/zh-CN/docs/Glossary/Primitive)(例如对象、函数、数组),请确保传递的是相同的对象引用。
417+
如果参数不是[原始数据类型](https://developer.mozilla.org/zh-CN/docs/Glossary/Primitive)(例如对象、函数、数组),请确保传递的是相同的对象引用。
418418

419419
在调用记忆化函数时,React 将查找输入参数,以查看是否已经缓存了结果。React 将使用浅相等确定是否存在缓存。
420420

0 commit comments

Comments
 (0)