File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/content/reference/react Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 5858
5959 - name : Download base branch bundle stats
6060 uses : dawidd6/action-download-artifact@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e
61- if : success() && github.event.number
61+ if : success()
6262 with :
6363 workflow : analyze.yml
6464 branch : ${{ github.event.pull_request.base.ref }}
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments