diff --git a/.obsidian/plugins/obsidian-git/data.json b/.obsidian/plugins/obsidian-git/data.json index c6225b3..c484db5 100644 --- a/.obsidian/plugins/obsidian-git/data.json +++ b/.obsidian/plugins/obsidian-git/data.json @@ -3,7 +3,7 @@ "autoCommitMessage": "vault backup: {{date}}", "commitDateFormat": "YYYY-MM-DD HH:mm:ss", "autoSaveInterval": 5, - "autoPullInterval": 0, + "autoPullInterval": 1, "autoPullOnBoot": false, "disablePush": false, "pullBeforePush": true, diff --git a/React 的那些事/React 性能优化碎片记录.md b/React 的那些事/React 性能优化碎片记录.md new file mode 100644 index 0000000..4575654 --- /dev/null +++ b/React 的那些事/React 性能优化碎片记录.md @@ -0,0 +1,4 @@ +父组件命中性能优化,子组件才有可能命中性能优化 +该如何比较 props + 1. 全等比较 --- 高效、不易命中 + 2. 浅比较 --- 不高效,易命中 \ No newline at end of file