Skip to content

Commit d1734de

Browse files
committed
Fix optimization link pointing to legacy docs
1 parent 2c7798d commit d1734de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/render-and-commit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Otherwise, you can encounter confusing bugs and unpredictable behavior as your c
142142

143143
#### Optimizing performance {/*optimizing-performance*/}
144144

145-
The default behavior of rendering all components nested within the updated component is not optimal for performance if the updated component is very high in the tree. If you run into a performance issue, there are several opt-in ways to solve it described in the [Performance](https://reactjs.org/docs/optimizing-performance.html) section. **Don't optimize prematurely!**
145+
The default behavior of rendering all components nested within the updated component is not optimal for performance if the updated component is very high in the tree. If you run into a performance issue, there are several opt-in ways to solve it described in the [Performance](https://react.dev/reference/react/memo#skipping-re-rendering-when-props-are-unchanged) section. **Don't optimize prematurely!**
146146

147147
</DeepDive>
148148

0 commit comments

Comments
 (0)