Skip to content

Commit 20c7cd7

Browse files
stephan-noelrammba
andauthored
Update src/content/learn/render-and-commit.md
Use relative link Co-authored-by: Radoš Milićev <40705899+rammba@users.noreply.github.com>
1 parent d1734de commit 20c7cd7

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://react.dev/reference/react/memo#skipping-re-rendering-when-props-are-unchanged) 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](/reference/react/memo#skipping-re-rendering-when-props-are-unchanged) section. **Don't optimize prematurely!**
146146

147147
</DeepDive>
148148

0 commit comments

Comments
 (0)